private void ViewLogo() { LinkBSO linkBSO = new LinkBSO(); DataTable table = linkBSO.GetLinkAll(); DataView dv = new DataView(table); dv.RowFilter = "LinkType=1"; commonBSO commonBSO = new commonBSO(); commonBSO.FillToGridView(grvLink, dv.ToTable()); }
public void LoadDoiTac() { LinkBSO linkBSO = new LinkBSO(); DataTable table = linkBSO.GetLinkAll(); if (table.Rows.Count > 0) { cdcatalog.DataSource=table; cdcatalog.DataBind(); } }
private void ViewAdv() { LinkBSO advBSO = new LinkBSO(); DataTable table = advBSO.GetLinkAll(); DataView dataView = new DataView(table); dataView.RowFilter = "LinkStatus = 'True' and LinkType=1"; // RadRotator1.RotatorType = RotatorType.AutomaticAdvance; RadRotator1.DataSource = dataView; RadRotator1.DataBind(); }