Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataRow
Message
From
19/07/2004 10:14:14
 
 
To
19/07/2004 04:31:29
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00925674
Message ID:
00925755
Views:
9
Mike,

You could use the grid.CurrentCell.CurrentRow and grid.CurrentCell.CurrentColumn properties to get the correct data out of your DataTable.

~~Bonnie



>Hi Guys
>
>I created a datatable named Employees and assigned it to the datasource property of a datagrid. My DataTable has a primary key column EmpID which I want to use when searching for a specific record in my DataTable.
>
>I want to get the value of the current field in my datatable and store it in a variable.
>
>How is it done?
>
>Any Help will be greatly appreciated..
>
>Thanks in advance...
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform