public frmReceiptNote() { InitializeComponent(); m_BookData = new DataTable(); m_BookExecute = new CBookBUS(); m_ReceiptNoteData = new DataTable(); m_ReceiptNoteDetailData = new DataTable(); m_ReceiptNoteExecute = new CReceiptNoteBUS(); m_ReceiptNoteDetailExecute = new CReceiptNoteDateilBUS(); m_ReceiptNoteDetailMultiselect = new GridCheckMarksSelection(grdvReceiptBook); ReceiptNoteId.VisibleIndex = 1; //DateTime.Compare// labReceiptDateValue.Text = DateTime.Now.ToString("dd/MM/yyyy"); txtReceiptNoteId.Text = "PN000000**"; }