Click here to Skip to main content
15,919,749 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionmake different menu for site Pin
farasat.mohammad22-May-10 18:37
farasat.mohammad22-May-10 18:37 
AnswerRe: make different menu for site Pin
Sandeep Mewara22-May-10 20:39
mveSandeep Mewara22-May-10 20:39 
GeneralRe: make different menu for site Pin
farasat.mohammad23-May-10 19:46
farasat.mohammad23-May-10 19:46 
QuestionProblem with declaring namespace Pin
Eagle3222-May-10 12:21
Eagle3222-May-10 12:21 
QuestionCount number of records from a tabel and display result in a gridview column at run time. Pin
Eagle3222-May-10 11:58
Eagle3222-May-10 11:58 
AnswerRe: Count number of records from a tabel and display result in a gridview column at run time. Pin
Sandeep Mewara22-May-10 20:35
mveSandeep Mewara22-May-10 20:35 
GeneralRe: Count number of records from a tabel and display result in a gridview column at run time. Pin
Eagle3223-May-10 1:32
Eagle3223-May-10 1:32 
QuestionChanging color on Boundfield text content Pin
lvq68422-May-10 8:21
lvq68422-May-10 8:21 
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 

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.