Hello, I have a couple of search fields, where you can search by both first and last name, or last or first name. I have 2 buttons, search and clear. When you hit search, the record(s) is returned in a datagrid.
However, I am having a problem when you refresh the page, even entering in something different in the search field, once I hit search, the same results get returned in the datagrid and what I entered in the search before reappears in search textbox. How do I prevent this? In addition, my datagrid is paging enabled and when I go to the next page, I get different records than what I want to show. e.g. I search by last name 'lee' so the datagrid returns all the records with 'lee' but when I go to the next page, the records are mixed up. I'm not sure why? Any help is greatly appreciated. Thanks. ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
