i am tired guides for how to select new record in gridex janus for add in database
-
hi every one i want when i click icon save in navigator that i new record that updat as case select record and add database but not all record select and show one of record is null beacasue not column select. please help me one of column add with value 0 beacasue not column select. and for add record whiout 0 value i was in run one click after edit a record but i dont click i want in code a click after edit that record to be select how this write . my code: try { ((DataRowView)fatemeBindingSource.Current).Row["code"] = codemax; int g, b; g = Convert.ToInt32(gridEX1.CurrentRow.Cells["code_b"].Value); b = Convert.ToInt32(gridEX1.CurrentRow.Cells["name"].Value); ((DataRowView)fatemeBindingSource.Current).Row["code_b"] = g; ((DataRowView)fatemeBindingSource.Current).Row["name"] = b; fatemeBindingSource.EndEdit(); fatemeTableAdapter.Update(this.baziDataSet.fateme); } catch (Exception ex) { MessageBox.Show(ex.Message); } :confused: best regards
-
hi every one i want when i click icon save in navigator that i new record that updat as case select record and add database but not all record select and show one of record is null beacasue not column select. please help me one of column add with value 0 beacasue not column select. and for add record whiout 0 value i was in run one click after edit a record but i dont click i want in code a click after edit that record to be select how this write . my code: try { ((DataRowView)fatemeBindingSource.Current).Row["code"] = codemax; int g, b; g = Convert.ToInt32(gridEX1.CurrentRow.Cells["code_b"].Value); b = Convert.ToInt32(gridEX1.CurrentRow.Cells["name"].Value); ((DataRowView)fatemeBindingSource.Current).Row["code_b"] = g; ((DataRowView)fatemeBindingSource.Current).Row["name"] = b; fatemeBindingSource.EndEdit(); fatemeTableAdapter.Update(this.baziDataSet.fateme); } catch (Exception ex) { MessageBox.Show(ex.Message); } :confused: best regards
my problem is a select last column in grid jans that not to be select. please help me i am tired .i am cellselectionmode =entirerow but not select colunm last gridjanus. please help me :doh:
-
my problem is a select last column in grid jans that not to be select. please help me i am tired .i am cellselectionmode =entirerow but not select colunm last gridjanus. please help me :doh:
please help me. i am wating guide for solve problem. best regards