|
-
September 18th, 2010, 05:07 PM
#1
Retrieving Data from database using TableAdapter, storing it in String/Array
Here is a little code but not completed.
Hope somebody give me a hint. I want to sort the result.
Code:
Object RReturn = new Object();
DataSet1TableAdapters.droughtDataTableAdapter k1 = new DataSet1TableAdapters.droughtDataTableAdapter();
String[][] ddata;
for (int i=0;i<k1.GetData().Rows.Count-1;i++)
{
RReturn = k1.GetData (i)
}
-
September 18th, 2010, 05:52 PM
#2
Re: Retrieving Data from database using TableAdapter, storing it in String/Array
I'd start by learning how to use the DataTableAdapter.
Search Bing or Google for "DataTableAdapter C# example".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|