public FRM_OrderDtetails(string ss) { InitializeComponent(); try { dgvDetails.DataSource = ClassBill.sp_OrderDetailsSel(int.Parse(ss)); } catch (Exception ex) { } }
private void dgvOrders_DoubleClick(object sender, EventArgs e) { dgvOrderDetails.DataSource = ClassBill.sp_OrderDetailsSel(int.Parse(dgvOrders.CurrentRow.Cells[0].Value.ToString())); }