Click here to Skip to main content
15,889,573 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Changing color on Boundfield text content Pin
Sandeep Mewara22-May-10 10:25
mveSandeep Mewara22-May-10 10:25 
GeneralRe: Changing color on Boundfield text content Pin
lvq68422-May-10 11:48
lvq68422-May-10 11:48 
GeneralRe: Changing color on Boundfield text content Pin
Sandeep Mewara22-May-10 20:31
mveSandeep Mewara22-May-10 20:31 
GeneralRe: Changing color on Boundfield text content Pin
lvq68422-May-10 20:49
lvq68422-May-10 20:49 
Questionhow to draw vertical rule in asp.net Pin
developerit22-May-10 3:28
developerit22-May-10 3:28 
AnswerRe: how to draw vertical rule in asp.net Pin
Yusuf22-May-10 7:01
Yusuf22-May-10 7:01 
AnswerRe: how to draw vertical rule in asp.net Pin
Tej Aj23-May-10 21:24
Tej Aj23-May-10 21:24 
Questionxml to gridview Pin
Tomlor198022-May-10 3:21
Tomlor198022-May-10 3:21 
Hello all!
I'm new to asp.net and i'm trying to bind some XML data to a gridview.
abviously I'm not understanding how to do it properly because that my code doesn't seem to
work...Can anyone could help me please?

this is my xml:
#########################################
<?xml version "1.0" encoding "utf-8"?>
<dictionary>
<item>
<key>
<string> hello world </string>
</key>
<value> <anytype xmlns:q1="http://www.w3.org/2001/XMLSchame" d4p1:type="q1:int"
xmlns:d4p1="http-instance">45</anytype>
</value>
</item>
</dictionary>

and this is my code:
########################################
string path = "D:\\myXmlFile.xml";
DataSet oDs = new DataSet();
oDs.ReadXml(path);
GridView1.DataSource = oDs;
GridView1.DataBind();

thanks
Tom
AnswerCross post Pin
Not Active22-May-10 3:32
mentorNot Active22-May-10 3:32 
RantRe: xml to gridview Pin
dan!sh 22-May-10 5:59
professional dan!sh 22-May-10 5:59 
QuestionLooking for a pattern for managing URL in a Web Application Pin
Nadia Monalisa22-May-10 2:51
Nadia Monalisa22-May-10 2:51 
AnswerRe: Looking for a pattern for managing URL in a Web Application Pin
Not Active22-May-10 3:10
mentorNot Active22-May-10 3:10 
GeneralRe: Looking for a pattern for managing URL in a Web Application Pin
Nadia Monalisa22-May-10 3:15
Nadia Monalisa22-May-10 3:15 
GeneralRe: Looking for a pattern for managing URL in a Web Application Pin
Not Active22-May-10 3:23
mentorNot Active22-May-10 3:23 
QuestionPrint Button Not Working well Pin
reogeo200821-May-10 21:38
reogeo200821-May-10 21:38 
AnswerRe: Print Button Not Working well Pin
Viral Upadhyay22-May-10 0:40
Viral Upadhyay22-May-10 0:40 
AnswerRe: Print Button Not Working well Pin
Andy_L_J22-May-10 0:51
Andy_L_J22-May-10 0:51 
AnswerRe: Print Button Not Working well Pin
Yusuf22-May-10 1:13
Yusuf22-May-10 1:13 
QuestionLanguage Conversion to English, Hindi Pin
kavithadev21-May-10 21:26
kavithadev21-May-10 21:26 
AnswerRe: Language Conversion to English, Hindi Pin
Sandeep Mewara22-May-10 0:43
mveSandeep Mewara22-May-10 0:43 
AnswerRe: Language Conversion to English, Hindi Pin
Yusuf22-May-10 1:21
Yusuf22-May-10 1:21 
QuestionLanguage conversion in asp.net Pin
kavithadev21-May-10 21:01
kavithadev21-May-10 21:01 
QuestionSyncfusion Help Pin
MaheshSharma21-May-10 20:53
MaheshSharma21-May-10 20:53 
AnswerRe: Syncfusion Help Pin
Sandeep Mewara21-May-10 20:57
mveSandeep Mewara21-May-10 20:57 
AnswerRe: Syncfusion Answer Pin
Yusuf22-May-10 1:23
Yusuf22-May-10 1:23 

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.