Click here to Skip to main content
15,922,533 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to recognize webserver exactly Pin
Sathesh Sakthivel18-Apr-07 21:26
Sathesh Sakthivel18-Apr-07 21:26 
GeneralRe: how to recognize webserver exactly Pin
N a v a n e e t h18-Apr-07 21:29
N a v a n e e t h18-Apr-07 21:29 
GeneralRe: how to recognize webserver exactly Pin
J4amieC18-Apr-07 22:30
J4amieC18-Apr-07 22:30 
AnswerRe: how to recognize webserver exactly Pin
N a v a n e e t h18-Apr-07 21:28
N a v a n e e t h18-Apr-07 21:28 
Questionread xml file Pin
Imran Khan Pathan18-Apr-07 20:51
Imran Khan Pathan18-Apr-07 20:51 
AnswerRe: read xml file Pin
gauthee18-Apr-07 21:10
gauthee18-Apr-07 21:10 
AnswerRe: read xml file Pin
Sandeep Akhare18-Apr-07 22:23
Sandeep Akhare18-Apr-07 22:23 
QuestionDataSet to HTML??? Pin
PACO7718-Apr-07 20:49
PACO7718-Apr-07 20:49 
Hallo,
i have some questions about transforming a DataSet to HTML output. So i have a WebService which returns me a DataSet(it comes from a Access database). After that i create ASP.NET Web App and i'm calling the Web Sevice:


private MyService.Service1 ws = new MyService.Service1();

After that i have a DropDownList to filter the data from the Web Service and a Load Button. Then i expect a HTML page for output.
Here is the Code:



string currencyItem = DropDownList1.SelectedItem.ToString();

this.ws.Credentials = System.Net.CredentialCache.DefaultCredentials;


DataSet ds = new DataSet();


ds = ws.GetCurrency(currencyItem);


XmlDataDocument dd = new XmlDataDocument(ds);


XslTransform xslTransf = new XslTransform();


//string map = Server.MapPath("~/TestTransformation.xslt");

xslTransf.Load(@"C:\Inetpub\wwwroot\WebApplication3\TestTransformation.xslt");



StreamWriter sw = new StreamWriter(@"C:\Inetpub\wwwroot\WebApplication3\output.html");

xslTransf.Transform(dd, null, sw);

sw.Close();



Is this code right???
So i'm using a XSL file for the transformation and the its code is:




<xsltylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">





Текущо състояние








<xsl:for-each select="DataSet/CCY">



БанкнотиДевизи
ЗаКурс БНБКупуваПродаваКупуваПродаваДата
<xsl:vaule-of select="CCYUNITS"><xsl:vaule-of select="RATEFIX"><xsl:vaule-of select="RATEBUYCASH"><xsl:vaule-of select="RATESELLCASH"><xsl:vaule-of select="RATEBUYACC"><xsl:vaule-of select="RATESELLACC"><xsl:vaule-of select="RATEDATETIME">













And here is the problem when i run the project and hit the load button it says that : 'xsl:vaule-of' cannot be a child of the 'td'???? Strange???

Can somebody help me???
Thank you in advance
AnswerRe: DataSet to HTML??? Pin
Paddy Boyd18-Apr-07 23:43
Paddy Boyd18-Apr-07 23:43 
GeneralRe: DataSet to HTML??? Pin
PACO7719-Apr-07 0:28
PACO7719-Apr-07 0:28 
Questionextending GridView control Pin
248912818-Apr-07 20:32
248912818-Apr-07 20:32 
AnswerRe: extending GridView control Pin
N a v a n e e t h18-Apr-07 21:31
N a v a n e e t h18-Apr-07 21:31 
QuestionCaching Pin
NICE TO MEET18-Apr-07 20:07
NICE TO MEET18-Apr-07 20:07 
AnswerRe: Caching Pin
Sathesh Sakthivel18-Apr-07 20:56
Sathesh Sakthivel18-Apr-07 20:56 
AnswerRe: Caching Pin
Atif Ali Bhatti18-Apr-07 22:40
Atif Ali Bhatti18-Apr-07 22:40 
AnswerRe: Caching Pin
RichardGrimmer20-Apr-07 5:18
RichardGrimmer20-Apr-07 5:18 
QuestionCache Pin
NICE TO MEET18-Apr-07 20:05
NICE TO MEET18-Apr-07 20:05 
AnswerRe: Cache Pin
Sathesh Sakthivel18-Apr-07 21:00
Sathesh Sakthivel18-Apr-07 21:00 
QuestionFrameset problem its very urgent........ [modified] Pin
Member 387988118-Apr-07 18:13
Member 387988118-Apr-07 18:13 
AnswerRe: Frameset problem its very urgent........ Pin
Venk25919-Apr-07 3:42
Venk25919-Apr-07 3:42 
QuestionASP.Net Message Box Pin
J Liang18-Apr-07 18:10
J Liang18-Apr-07 18:10 
AnswerRe: ASP.Net Message Box Pin
Shajeel18-Apr-07 19:16
Shajeel18-Apr-07 19:16 
GeneralRe: ASP.Net Message Box Pin
J Liang18-Apr-07 21:16
J Liang18-Apr-07 21:16 
GeneralRe: ASP.Net Message Box Pin
Shajeel18-Apr-07 21:23
Shajeel18-Apr-07 21:23 
GeneralRe: ASP.Net Message Box Pin
J Liang18-Apr-07 22:04
J Liang18-Apr-07 22:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.