Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
650
Binding the Grid
posted

 Good Afternoon everyone

 

Am new to the Forum and new to my employer :). Am a Developer who bealive writting codes than using wizards like sqldatasource in .NET. The Prevous developer that am taking over used a lot of words to do database work. and i lately i came across infragistics word time again and again. I see he used it for UI and it has nice controls. Now i have enever used this controls before  and they are in the system that i will be maintaining. i looked at the examples of binding the Grid here on the online Documentations and i see a Wizard is used. 

 1) My Question is, the Infragistics controls are similar in the way we bind Controls like gridview? 

 

Somthing like 

 

Gridview1.DataSource = ds;

Gridview1.Databind();

 

Thank you

Parents
No Data
Reply
  • 7694
    Verified Answer
    posted

    Hello,

    Please take a look code below:


        protected void Page_Load(object sender, EventArgs e)
        {
         DataSet1 ds = new DataSet1();       
           
            DataSet1TableAdapters.ProductsTableAdapter prod = new DataSet1TableAdapters.ProductsTableAdapter();

            prod.Fill(ds.Products);

            UltraWebGrid1.DataSource = ds;
            DataBind();
    }

    Hope this helps.


Children