Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: Centering a form?!? Pin
Nick Parker30-Jul-03 17:46
protectorNick Parker30-Jul-03 17:46 
GeneralRe: Centering a form?!? Pin
Ista30-Jul-03 18:20
Ista30-Jul-03 18:20 
GeneralRe: Centering a form?!? Pin
Nick Parker30-Jul-03 19:19
protectorNick Parker30-Jul-03 19:19 
GeneralRe: Centering a form?!? Pin
Ista31-Jul-03 5:02
Ista31-Jul-03 5:02 
GeneralHiding columns in a datagrid Pin
Ista30-Jul-03 10:50
Ista30-Jul-03 10:50 
GeneralRe: Hiding columns in a datagrid Pin
William Forney30-Jul-03 20:34
William Forney30-Jul-03 20:34 
GeneralRe: Hiding columns in a datagrid Pin
Ista31-Jul-03 5:01
Ista31-Jul-03 5:01 
Generalxml to listbox? its gettin more tricky Pin
jphuphilly30-Jul-03 10:39
jphuphilly30-Jul-03 10:39 
okay i want to bind a xml document to a listbox, i have this code:
string fn="TaxiQ.xml";<br />
			DataSet ds=new DataSet();<br />
			ds.ReadXml(fn);<br />
			foreach (DataTable dt in ds.Tables)<br />
			{<br />
				<br />
				<br />
				lBox1_t.Items.Add(dt.TableName);<br />
			}<br />
<br />
			dataSet=ds;<br />
			lBox1_t.SelectedIndex=0;<br />
			fnSchema=fn;

but i need the information in each individual element of TaxiQ.xml it only gives me the table names , how would i get the contents of the elements

This is my xml doc:
?xml version="1.0" standalone="yes"?>
TaxiQ>
Taxi>
UserId>asfSFAas
Date>fdsafasdfdsa
/Taxi>
Taxi>
UserId>fds
Date>7/30/2003 3:18:59 PM
/Taxi>
/TaxiQ>


Thanks for the help!!Big Grin | :-D Big Grin | :-D

Da Intern
GeneralRe: xml to listbox? its gettin more tricky Pin
Not Active30-Jul-03 14:40
mentorNot Active30-Jul-03 14:40 
GeneralRe: xml to listbox? its gettin more tricky Pin
jphuphilly31-Jul-03 2:16
jphuphilly31-Jul-03 2:16 
GeneralRe: xml to listbox? its gettin more tricky Pin
Ista30-Jul-03 14:41
Ista30-Jul-03 14:41 
GeneralRe: xml to listbox? its gettin more tricky Pin
EziDotNet1-Aug-03 23:19
EziDotNet1-Aug-03 23:19 
GeneralSaving the State of Windows Form Controls Pin
Tim130-Jul-03 8:44
Tim130-Jul-03 8:44 
GeneralRe: Saving the State of Windows Form Controls Pin
Csharp™30-Jul-03 9:45
Csharp™30-Jul-03 9:45 
GeneralRe: Saving the State of Windows Form Controls Pin
Tim130-Jul-03 9:57
Tim130-Jul-03 9:57 
GeneralRe: Saving the State of Windows Form Controls Pin
Ista30-Jul-03 14:42
Ista30-Jul-03 14:42 
GeneralRe: Saving the State of Windows Form Controls Pin
Tim130-Jul-03 16:38
Tim130-Jul-03 16:38 
GeneralRe: Saving the State of Windows Form Controls Pin
Ista30-Jul-03 18:21
Ista30-Jul-03 18:21 
GeneralSpecified cast is not valid Pin
Nidi30-Jul-03 8:16
Nidi30-Jul-03 8:16 
GeneralRe: Specified cast is not valid Pin
Ista30-Jul-03 10:49
Ista30-Jul-03 10:49 
GeneralRe: Specified cast is not valid Pin
James T. Johnson30-Jul-03 17:09
James T. Johnson30-Jul-03 17:09 
GeneralRe: Specified cast is not valid Pin
James T. Johnson30-Jul-03 17:22
James T. Johnson30-Jul-03 17:22 
GeneralBind a window to the side of the screen Pin
heelios30-Jul-03 6:15
heelios30-Jul-03 6:15 
GeneralRe: Bind a window to the side of the screen Pin
Kastro30-Jul-03 7:57
Kastro30-Jul-03 7:57 
GeneralNeed help using IndexOf() Pin
Rbledwards30-Jul-03 6:02
Rbledwards30-Jul-03 6:02 

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.