c# - Show datatable in tabcontrol -
i have datagridview . , tabcontrol. before use code load datatable in newform value selected. here code
private void dgvsatuan_cellcontentclick(object sender, datagridviewcelleventargs e) { dgvsatuan.readonly = false; str = dgvsatuan.rows[e.rowindex].cells[0].value.tostring(); = dgvsatuan.rows[e.rowindex].index; fsatuan opsatuan = new fsatuan(str, i, id); opsatuan.showdialog(); showdatasatuan(); }
how load datatable when datagridview selected , value detail show textview in tabpage1?
Comments
Post a Comment