// Tạo cửa hàng protected void pnlUser_ContentRefresh(object sender, EventArgs e) { try { CuaHang cuahang = new CuaHang(); if (CheckExistCuaHang(int.Parse(hidID.Value)) != true) { cuahang.InsertFields(null, null, int.Parse(hidID.Value), null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 3); } LoadGridData(); } catch (Exception ex) { Response.Write(ex.ToString()); } }