예제 #1
0
        public void DetailRowRefresh(Guid RowID)
        {
            DataTable dtResult = new DataTable();

            dtResult = BKM.ListDetailperRow(RowID);
            dgDetailBKM.RefreshDataRow(dtResult.Rows[0], "RowID", RowID.ToString());
        }
예제 #2
0
        public void DetailRowRefresh(Guid RowID)
        {
            DataTable dtResult = new DataTable();

            dtResult = BKM.ListDetailperRow(RowID);
            if (dgDetailBKM.Rows.Count == 0)
            {
                dtBKMDetail = dtResult.Copy();
                dtBKMDetail.DefaultView.Sort = "RecordID";
                dgDetailBKM.DataSource       = dtBKMDetail.DefaultView;
            }
            else
            {
                dgDetailBKM.RefreshDataRow(dtResult.Rows[0], "RowID", RowID.ToString());
            }
        }