Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 07, 2011 11:44 AM by bilawalshah
Nov 07, 2011 07:59 AM|LINK
i want that my gridview shows some selective valuee...
likee the value from id:5 to id:10
Nov 07, 2011 10:21 AM|LINK
Hello, for that you can assign datasource from code behind with id 5 to 10..... Gridview will shows all that data which you bound from codebehind...
still yo want to give it in aspx then you can writ inner script for if(id >5 && id <10) then show the following contains otherwise hide that contains.......menas need inline script in aspx (HTML)
MARK AS ANSWER IF THIS WORKS...
Nov 07, 2011 10:27 AM|LINK
You can use filtering on data source controls
Nov 07, 2011 10:51 AM|LINK
you simple do it using query like BETWEEN opertaor...
write query using BETWEEN and bind then in gridview
Nov 07, 2011 11:44 AM|LINK
@salman it worked..its the most easiest...