Re: datatable to dataset
- From: "Marina Levit [MVP]" <someone@xxxxxxxxxx>
- Date: Mon, 17 Jul 2006 16:32:14 -0400
Well, using a dataset isn't going to help you solve your problem, even
though it is not at all clear what the problem is.
Norman explained the different between a datatable and a dataset, and the
the former is fundamentally a collection of the latter.
Maybe you should tell us what the problem is, clearly, and precisely,
providing relevant code if necessary.
"Tom" <Tom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:363C4FB5-98A0-482A-87C3-9E4AF91C637A@xxxxxxxxxxxxxxxx
Im' grouping by data in my grid, and I've tried to do that using a
dataTable
and no luck. I already have a web Form that has a grid that the data is
grouped/
"Norman Yuan" wrote:
I do not know why you have to "convert" a datatable to dataset in order
to
your data manipulating and databinding, chances are that you may not have
to.
Regardless, you cannot CONVERT DataTable to DataSet. DataSet is a
container
that can contain 0 or more DataTable. If you have to place a DataTable
into
a DataSet, you can
DataSet ds=new DataSet();
ds.Tables.Add(myDataTable);
"Tom" <Tom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:85254E48-9FD6-452B-BBFE-937928EBC5C8@xxxxxxxxxxxxxxxx
I have a dataTable being returned from my datalayet, I need to convert
it
to
a dataSet so I can do some data manipulation to it prior to populating
my
datagrid. How can I convert the datatable to a dataset?
.
- References:
- Re: datatable to dataset
- From: Norman Yuan
- Re: datatable to dataset
- Prev by Date: changepassword control problems
- Next by Date: Re: Does IIS thread each web service request?
- Previous by thread: Re: datatable to dataset
- Next by thread: Can I convert IList to a DataSet, DataTable or DataView?
- Index(es):