R
rogersmail
Greetings,
I am new to this and have some problems.
I created a dataset using the vs2005 GUI and want to load the dataset
using code in the back end
I have:
XmlDocument xmlDoc = new XmlDocument();
dsSampleTableAdapters.tblSamplesTableAdapter sample = new
dsSampleTableAdapters.tblSamplesTableAdapter();
sample.GetSampleData(sample_id);
//DataSet ds = new DataSet
// dsSample ds = new dsSample
// xmlDoc = ds.GetXml();
Console.WriteLine(xmlDoc);
return xmlDoc;
The problem is that I am not sure where the sample.getSampleData is
acutally storing the data. I tried to set ds = sample.getSampleData
moving the new dataset lines above that obviously.
All I need to do is to retrieve the dataset I created in the gui and
return it as XML to a web service or as a custom object to a thick
client.
Any help is appreicatied.
Thanks
Roger
I am new to this and have some problems.
I created a dataset using the vs2005 GUI and want to load the dataset
using code in the back end
I have:
XmlDocument xmlDoc = new XmlDocument();
dsSampleTableAdapters.tblSamplesTableAdapter sample = new
dsSampleTableAdapters.tblSamplesTableAdapter();
sample.GetSampleData(sample_id);
//DataSet ds = new DataSet
// dsSample ds = new dsSample
// xmlDoc = ds.GetXml();
Console.WriteLine(xmlDoc);
return xmlDoc;
The problem is that I am not sure where the sample.getSampleData is
acutally storing the data. I tried to set ds = sample.getSampleData
moving the new dataset lines above that obviously.
All I need to do is to retrieve the dataset I created in the gui and
return it as XML to a web service or as a custom object to a thick
client.
Any help is appreicatied.
Thanks
Roger