Can anyone write me how to save the run time entered information into my database...
BindingList<Employee> employees;publicForm3(){InitializeComponent();}publicclassEmployee{publicstring ID{get;set;}publicstringName{get;set;}publicstringDesignation{get;set;}}privatevoidForm3_Load(object sender,EventArgs e){ employees =newBindingList<Employee>(); dataGridView1.DataSource= employees; employees.Add(newEmployee(){ ID ="1",Name="Tom",Designation="Commander"});}
↧
datagridview save runtime data to sql
↧