Wilson,
Well, if you have a dataset, there are a few pieces of information you
need to know:
- The name of the table
- Which row the data is in
- Which column the data is in
If you know that, you can get/set the information like this:
// Assume pobjDataSet is the data set.
pobjDataSet.Tables[<table name or index>].Rows[<row index>][<column name or
index>] = <value>;
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Wilson Wu" <wi******@myrealbox.com> wrote in message
news:en**************@TK2MSFTNGP11.phx.gbl...
Hi,
How can I find the field value in the dataset and then assign one of the
field value to a variable ?
Thanks
Wilson