borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Next Topic (C# FREE PDF EBOOK) New Topic New Poll Post Reply
AndreaVB Forum : C# : datagridview data read
Poster Message
bdeshtiger
Level: Trainee

Registered: 04-06-2007
Posts: 2

Ads by Lake Quincy Media
icon datagridview data read

Hi all, I have very silly question.

To read data from gridview:
string lsvalue1 = datagridview1[0 , 0].Value.ToString();

it reads data from column0, row0 in C#2008.

What the syntax if i want column0, selectedrow data? means
string lsvalue1 = datagridview1[0 , ? selectedrow].Value.ToString();

Any help would be appreciated.

Cheers

BT

____________________________
BT

08-06-2009 at 10:12 PM
View Profile Send Email to User Show All Posts | Quote Reply
louisasqural
Level: Trainee

Registered: 22-12-2010
Posts: 1
icon Re: datagridview data read

It is very difficult to understand it, And because of this you must have to read some of the books, I like to share here.

datagrid / datagridview difference - Amos Honey
How to create data gride? by Michel John


____________________________
Vibrating alarm

Ads by Lake Quincy Media
22-12-2010 at 10:05 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : C# : datagridview data read
Next Topic (C# FREE PDF EBOOK) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder