Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Combo Boxes and Database Binding Pin
mbangh15-Sep-09 12:43
mbangh15-Sep-09 12:43 
AnswerRe: Combo Boxes and Database Binding Pin
Abhishek Sur15-Sep-09 13:00
professionalAbhishek Sur15-Sep-09 13:00 
AnswerRe: Combo Boxes and Database Binding Pin
N a v a n e e t h15-Sep-09 17:33
N a v a n e e t h15-Sep-09 17:33 
GeneralRe: Combo Boxes and Database Binding Pin
mbangh16-Sep-09 5:56
mbangh16-Sep-09 5:56 
AnswerRe: Combo Boxes and Database Binding Pin
carlecomm21-Sep-09 21:30
carlecomm21-Sep-09 21:30 
QuestionXML Data and Data Sets Pin
AndyASPVB15-Sep-09 10:19
AndyASPVB15-Sep-09 10:19 
AnswerRe: XML Data and Data Sets Pin
Ian Shlasko15-Sep-09 10:54
Ian Shlasko15-Sep-09 10:54 
GeneralRe: XML Data and Data Sets Pin
AndyASPVB15-Sep-09 11:39
AndyASPVB15-Sep-09 11:39 
Hi
Yes, sorry, it should be readxml.

I did try referencing the table either by index or by name, but all it said was that the table is not there or does not exist. This is what I wrote orginally:

DataSet ds = new DataSet("mySet");
DataTable dt = new DataTable("myTable");

ds.Tables.Add(dt);

ds.ReadXml("myXml");


When I read in the xml into the dataset and then wrote it out to a new xml document it does it - no error, but I can get the data to a table, where I can then work with each value.

I would have thought just a couple of lines of code was all that was needed with DataSets?
GeneralRe: XML Data and Data Sets Pin
Ian Shlasko15-Sep-09 12:05
Ian Shlasko15-Sep-09 12:05 
AnswerRe: XML Data and Data Sets Pin
carlecomm21-Sep-09 21:28
carlecomm21-Sep-09 21:28 
QuestionSource Code Encryption Pin
kKamel15-Sep-09 10:03
kKamel15-Sep-09 10:03 
AnswerRe: Source Code Encryption Pin
Manas Bhardwaj15-Sep-09 10:07
professionalManas Bhardwaj15-Sep-09 10:07 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:09
kKamel15-Sep-09 10:09 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 10:15
protectorChristian Graus15-Sep-09 10:15 
GeneralRe: Source Code Encryption Pin
PIEBALDconsult15-Sep-09 10:16
mvePIEBALDconsult15-Sep-09 10:16 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 10:18
protectorChristian Graus15-Sep-09 10:18 
GeneralRe: Source Code Encryption Pin
Ian Shlasko15-Sep-09 10:18
Ian Shlasko15-Sep-09 10:18 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:22
kKamel15-Sep-09 10:22 
GeneralRe: Source Code Encryption Pin
Christian Graus15-Sep-09 11:24
protectorChristian Graus15-Sep-09 11:24 
GeneralRe: Source Code Encryption Pin
harold aptroot15-Sep-09 10:23
harold aptroot15-Sep-09 10:23 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:28
kKamel15-Sep-09 10:28 
GeneralRe: Source Code Encryption Pin
harold aptroot15-Sep-09 10:33
harold aptroot15-Sep-09 10:33 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:36
kKamel15-Sep-09 10:36 
GeneralRe: Source Code Encryption Pin
Ian Shlasko15-Sep-09 10:44
Ian Shlasko15-Sep-09 10:44 
GeneralRe: Source Code Encryption Pin
kKamel15-Sep-09 10:59
kKamel15-Sep-09 10:59 

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.