|
-
Feb 9th, 2011, 01:17 AM
#1
Thread Starter
Addicted Member
how do i select a single row from a datagridview in C#?
I am developing Windows Form Application, i ma uisng VS 2008.
i have a datagridview that displays customer information.
now i want to select one row from the datagridview then after selecting there is a command button show, then i want to click the button, so that it will show me an other page.
i know how to populate data indatagridview from database, but how to select a row then on click button it will show me an other form form2.
page is Form1.... contains the dataagridview1 and show button
form2...is an other form.
form 2 will be displayed when the button Show in form1 is clicked and Form2 to be displayed a single row from the datagridview MUST be selected, so how can i do that?
help me i am a very beginner of C#, together we can change the world...
-
Feb 9th, 2011, 02:32 AM
#2
Re: how do i select a single row from a datagridview in C#?
Follow the CodeBank link in my signature and check out my thread on Editing a Grid Row in a Dialogue.
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
|