UserControl and binding RRS feed

  • Question

  • User37755577 posted

    What you need to add a UserControl that could cause binding in GridView?



        <%# DataBinder.Eval( Container, "DataItem.BookID" ) %>



    BookID - column in the Dataset.


    The theme of the MSDN "How to: Create Templated ASP.NET User Controls" - watched.

    They need to constantly change the names and number of class properties, depending on the SQL-query.


    What you need to add the UserControl to be unnecessary to change the class depending on the SQL-query?

    Friday, August 28, 2009 1:17 PM