Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every one.
Can i use c# coding with xml as "java script with html".
Actually, I want to generate report (.rdlc) that should be changed dyanamically on the basis of Form Lavels and TextBoxes values.
The form lavels and textboxes are array of labels and textboxes that can be different each time when report is generated.
Posted

1 solution

Hi,

You'll have to use XML document like this


XmlDocument xd = new XmlDocument();
                xd.LoadXml(xmltoread);//loading XML
                var node = xd.GetElementsByTagName(nodename)[0];//reading node name [0],if  node no is > 0
                var outcome = node.Attributes["outcome"].Value;//End//printing in a variable or any control
 
Share this answer
 
Comments
uspatel 19-Jul-11 6:55am    
how to load .rdlc reprt as xml

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900