Click here to Skip to main content
15,916,459 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: output to console in Vc++2005 Pin
Mark Salsbery15-May-07 5:55
Mark Salsbery15-May-07 5:55 
AnswerRe: output to console in Vc++2005 Pin
StevenS_Dev21-May-07 4:10
StevenS_Dev21-May-07 4:10 
GeneralRe: output to console in Vc++2005 Pin
lavy288321-May-07 4:12
lavy288321-May-07 4:12 
Questionmissing ; before * Pin
subramanyeswari14-May-07 22:48
subramanyeswari14-May-07 22:48 
AnswerRe: missing ; before * Pin
Mark Salsbery15-May-07 5:51
Mark Salsbery15-May-07 5:51 
Question__loctotime_t problem Pin
bouli14-May-07 21:12
bouli14-May-07 21:12 
QuestionThe good, the bad and the ugly (or C#, COM and C++/CLI) Pin
originSH14-May-07 5:11
originSH14-May-07 5:11 
Questionerror in readxml with database Pin
lavy288314-May-07 5:10
lavy288314-May-07 5:10 
I created the Xml file, I want to put the data from xml in a table....I have my function like this...

void readfromfile()
{
String^ strFName = gcnew String("d:\\Contload.xml");
DataSet^ ds = gcnew DataSet();
DataTable^ table;
DataRow^ row;
int i;

try
{
ds->ReadXml(strFName);
DataRowCollection^ dr = ds->Tables[0]->Rows;
}
finally
{
delete strFName;
}
}
but I don't know how to do next....to put the data from the Xml in Tables[]

I created an for like...

for (i=0; iTables->Count; i++)
{
table = ds->Tables->Item[i];...................
.......}

but it give me an error :

Error 6 error C2039: 'Item' : is not a member of 'System::Data::DataTableCollection' ...




can you tell me at least why it give me this error...please
AnswerRe: error in readxml with database Pin
originSH14-May-07 5:53
originSH14-May-07 5:53 
Questionreadxml with dataset Pin
lavy288314-May-07 4:18
lavy288314-May-07 4:18 
AnswerRe: readxml with dataset Pin
Hamid_RT22-May-07 2:04
Hamid_RT22-May-07 2:04 
GeneralRe: readxml with dataset Pin
lavy288322-May-07 5:30
lavy288322-May-07 5:30 
GeneralRe: readxml with dataset Pin
lavy288322-May-07 5:31
lavy288322-May-07 5:31 
GeneralRe: readxml with dataset Pin
Hamid_RT22-May-07 7:40
Hamid_RT22-May-07 7:40 
AnswerRe: AfxMessageBox and Strings!!! Pin
led mike14-May-07 4:51
led mike14-May-07 4:51 
QuestionHow to pass a function as an argument to other function Pin
subramanyeswari14-May-07 3:12
subramanyeswari14-May-07 3:12 
AnswerRe: How to pass a function as an argument to other function Pin
led mike14-May-07 4:53
led mike14-May-07 4:53 
GeneralRe: How to pass a function as an argument to other function Pin
subramanyeswari14-May-07 18:34
subramanyeswari14-May-07 18:34 
AnswerRe: How to pass a function as an argument to other function Pin
Hamid_RT22-May-07 2:01
Hamid_RT22-May-07 2:01 
QuestionComplicated array problem Pin
NeoCoded14-May-07 2:17
NeoCoded14-May-07 2:17 
AnswerRe: Complicated array problem Pin
Mark Salsbery14-May-07 5:29
Mark Salsbery14-May-07 5:29 
GeneralRe: Complicated array problem Pin
NeoCoded14-May-07 6:17
NeoCoded14-May-07 6:17 
GeneralRe: Complicated array problem Pin
Mark Salsbery14-May-07 6:24
Mark Salsbery14-May-07 6:24 
Questioncannot convert from CString* to CString& Pin
subramanyeswari14-May-07 0:29
subramanyeswari14-May-07 0:29 
AnswerRe: cannot convert from CString* to CString& Pin
prasad_som14-May-07 0:41
prasad_som14-May-07 0:41 

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.