Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field details
Message
From
05/07/2006 13:07:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/07/2006 12:27:56
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
01133895
Message ID:
01133925
Views:
12
>OK so its a silly question
>
>How do you get the current row info from a grid
>
>for example
>
>A grid grdname with 4 columns called no, Name, address , town
>
>I want say the town details
>
>
>I know its something to do with current row but how do you get it#
>
>
>Regards
>
>
>Richard
DataGridViewRow dr = myDataGridView.CurrentRow;
MessageBox.Show( (string)dr["town"] );
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform