Create a website “web_demo”.
On the “Default.aspx” webform drag and drop a GridView.
Add a DataSource.
Bind the data control to the datasource which may be a xml file or any other DB table/tables.
Add a column for the index field. It needs to be template field.
Suppose the header text for the template field be “Index”
Then just add in the follwing code for default.aspx for the "index" field.
July 8, 2009
ADD INDEX TO THE GRID VIEW
Subscribe to:
Post Comments (Atom)
2 comments:
You are not right. I can defend the position. Write to me in PM, we will talk.
You were visited with an excellent idea
Post a Comment