J
Jan Erik Hansen
I have a gridview with a sqldatasource and an aspx web form that enables the
user to search on different criterias. Based upon that I generate dynamic
sql
and programmitically feed this into selectcommand and selectparameter of the
sqldatasource. I get the desired result in the gridview but when i enable
paging and sorting I get an empty grid when i try to page or sort.
Another thing: when I click on a link field in the grid for detail
information on another
aspx page and return with the browser back I also get an empty grid.
Any suggestions?
regards
Jan E Hansen, Oslo
user to search on different criterias. Based upon that I generate dynamic
sql
and programmitically feed this into selectcommand and selectparameter of the
sqldatasource. I get the desired result in the gridview but when i enable
paging and sorting I get an empty grid when i try to page or sort.
Another thing: when I click on a link field in the grid for detail
information on another
aspx page and return with the browser back I also get an empty grid.
Any suggestions?
regards
Jan E Hansen, Oslo