c# - Edit selected datagrid row in new form -
in c# have datagrid view bound customers table, want when user double click on selected row in grid new form binded customer table (included textboxes) appear , let user modify data , save db ?
actually tried code not working !! tried sync position of gridview , edit form binding source following code nothing happen when running !
edit_customerform editcustomer = new edit_customerform(); editcustomer.customersbindingsource.position=this.customersbindingsource.position; editcustomer.showdialog();
here how can using entityframework.
Comments
Post a Comment