protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { NguoiDung c = new NguoiDung(); int currentUserId = (int)Session["MaNguoiDung"]; DataTable danhSachChat = c.DanhSachChat(currentUserId); rptData.DataSource = danhSachChat; rptData.DataBind(); } }