Example #1
0
        protected void gvKh_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
        {
            var row   = gvKh.Rows[e.NewSelectedIndex];
            var index = GridViewHelper.GetColumnIndexByName(row, "MaKh");
            var maKh  = int.Parse(row.Cells[index].Text);

            Load_gvSims(maKh);
        }
Example #2
0
        protected void gvHoaDon_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
        {
            var row   = gvHoaDon.Rows[e.NewSelectedIndex];
            var index = GridViewHelper.GetColumnIndexByName(row, "MaHd");
            var maHd  = int.Parse(row.Cells[index].Text);

            gvHoaDonChiTiet_GetData(maHd);
        }