コード例 #1
0
ファイル: Chi_nhanh.aspx.cs プロジェクト: tranhoaibao01/web02
 /// <summary>
 /// Gán dữ liệu cho ListView danh sách tin đã đăng
 /// </summary>
 /// <param name="NewsID"></param>
 private void ListView_DataBind()
 {
     ListView1.DataSource = Branchs.GetAll();
     ListView1.DataBind();
 }
コード例 #2
0
 /// <summary>
 /// Lấy dữ liệu lên GridView gvDescription
 /// </summary>
 private void gView_Binding()
 {
     gView.DataSource = Branchs.GetAll();
     gView.DataBind();
 }