protected void BindGrid()
        {
            var list = db.S_Urunler().Where(c => c.KategoriID_TipID4 == 16).ToList();

            if (list.Count > 0)
            {
                ASPxDataView1.DataSource = list;
                ASPxDataView1.DataBind();
            }
        }
Exemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable t = new DataTable();

            t.Columns.Add("name");
            t.Columns.Add("value", typeof(System.Int32));
            t.Rows.Add("Circular", 12);
            t.Rows.Add("Digital", 10);
            ASPxDataView1.DataSource = t;
            ASPxDataView1.DataBind();
        }
Exemplo n.º 3
0
 protected void GetServers()
 {
     try
     {
         DataTable dt = VSWebBL.DashboardBL.DashboardBL.Ins.GetServerType("");
         ASPxDataView1.DataSource = dt;
         ASPxDataView1.DataBind();
     }
     catch (Exception)
     {
         throw;
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     ASPxDataView1.DataBind();
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     ASPxDataView1.ItemTemplate = new MyItemTemplate();
     ASPxDataView1.DataSource   = AccessDataSource1;
     ASPxDataView1.DataBind();
 }
Exemplo n.º 6
0
 protected void ASPxDataView1_Init(object sender, EventArgs e)
 {
     ASPxDataView1.DataSource = ShoppingCartStorage.AllProducts;
     ASPxDataView1.DataBind();
 }