sachi vasishta

sachi vasishta

  • NA
  • 252
  • 0

** navigation between datagridview and forms

Apr 15 2009 8:45 AM

Hi,

I have a form which contains a datagridview control and a button called "Edit mode".In form1  I will retrieve some/all info from mysql database table `insurance`(assume there are 8 columns in the table insurance) and display it on the datagrid view. In datagridview the data will be shown from the first row itself. Now what I want is if the user  clicks the “Edit Mode” button for adding a new entry, the first row of the table should provide the columns for entering the details of the table insurance. And also in datagridview when I select a particular row then the col'0',col'1', and col'2' values should be placed to the textboxes of other form say form2(the form1 should be closed).How to achieve this. Please help!


Answers (1)