am using dateTimePicker in dataGridView and SQL database
- private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
- {
- try
- {
- string ColName = dataGridView1.Columns[e.ColumnIndex].Name;
- if (ColName == "ColEdit")
- {
- formExecutiveInfoEntry frm = new frmExecutiveInfoEntry(this);
- form.dtDateJoin.Text = dataGridView1.Columns[1].DefaultCellStyle.Format = "dd-MM-yyyy";
- }
- }
- }
Amit GuptaPosted Apr 20, 2021, 1:03 PM
Emmmanuel FIADUFEPosted Apr 28, 2021, 1:36 PM
Amit GuptaPosted Apr 22, 2021, 11:20 AM
Emmmanuel FIADUFEPosted Apr 21, 2021, 4:28 PM
Emmmanuel FIADUFEPosted Apr 20, 2021, 5:47 PM
Amit GuptaPosted Apr 20, 2021, 2:10 PM
Amit GuptaPosted Apr 20, 2021, 2:08 PM
Emmmanuel FIADUFEPosted Apr 20, 2021, 12:01 AM
Sharma RaushanPosted Apr 19, 2021, 9:56 AM
Amit GuptaPosted Apr 19, 2021, 9:14 AM
Emmmanuel FIADUFEPosted Apr 18, 2021, 4:47 PM
Jignesh KumarPosted Apr 18, 2021, 6:28 AM
Hiesh KidechaPosted Apr 18, 2021, 6:26 AM