GridView and Calender Example
In the attached code i got problem that, when textbox1.text will be changed, monthCalender will be showed, n what date i select it is written to that textbox. But i am getting problem in entering today's date. and second problem is that after entering two dates in two textboxs, if i click on "GO" button gridview will be showed, which is working correctly. But in gridview my requirement is, when i enter "Quantity" cloumn as 5 and "Rate" column as 10, then automatically it will show "Amount" Column as multiplication of "quantity" And "Rate". Please go through my code and correct it.

Iftikar HussainPosted Jul 19, 2013, 3:26 AM
I am able to enter today's date. You need to select it from calendar.
and for second issue
in your form1.designer.cs
this.gvPopulate.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.GridViewCellEndEdit);
in your form1.cs
Regards,
Iftikar
Preeti AgrawallaPosted Jul 19, 2013, 5:51 AM
Preeti AgrawallaPosted Jul 19, 2013, 5:39 AM
Iftikar HussainPosted Jul 19, 2013, 5:37 AM
Regards,
Iftikar
Iftikar HussainPosted Jul 19, 2013, 5:31 AM
Regards,
Iftikar
Sanjeeb LenkaPosted Jul 19, 2013, 5:31 AM
http://www.c-sharpcorner.com/UploadFile/ANURAGSARKAR19/saving-data-using-datagridview-and-doing-calculations/
http://stackoverflow.com/questions/12776618/read-data-from-datagridview-and-save-to-database
Preeti AgrawallaPosted Jul 19, 2013, 5:19 AM
Preeti AgrawallaPosted Jul 19, 2013, 4:57 AM
Suresh BabuPosted Jul 19, 2013, 4:17 AM
u have another doubts please send to my [email protected]
9030218021
Iftikar HussainPosted Jul 19, 2013, 3:44 AM
Regards,
Iftikar
Preeti AgrawallaPosted Jul 19, 2013, 3:43 AM