Working With GridView Using ItemTemplate

Thursday, February 12, 2015 Unknown 1 Comments


Using a Gridview in asp.net 2.0. You could show products for a shopping page, this example is the review template on http://www.treetopbaby.ca/reviews.aspx?id=1.xml

Data from the data source is bound by the BIND .

binds the column from the row in the Datagrid.



to bind the datagrid to a datasource. Add a datasource to the project.

AND.


Me.SqlDataSource1.SelectCommand = "SELECT * From SOMETHING"
Me.GridView1.DataBind()


1 comment :

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Powered by Blogger.