M.L. Martin
asked on
Search feature not working - ASP.net (aspx) 4.0
Admittedly I do not know what else to do at this point. I have spent the last week trying to figure out how to do paging with a datalist contol. I have to use a datalist because I need the formatting freedom. I thought I could get the pages to work but Something is missing.
1. The pages load ok.
2. I don't receive any compile errors.
3. The next, previous, last buttons are clickable
The BIG PROBLEM IS my search page does not bring back any results. If it is bringing back results they are not displaying on the page. My assumption is no results are being returned. I think it would be too much code to try and place here so I am attaching the aspx file in text format and the aspx.vb file also in text format. I can't tell you where I'm going wrong with this so someone will have to look through the code to determine the problem. I've tried everything I know to do at this point. I thought about searching for some more sample code of datalist paging but I figured since the pages are not failing then maybe I am very close to making this work. PLEASE HELP!!!!!!!!!!!!!!!!! search.txt
search-aspx-vb-CodeBehind.txt
1. The pages load ok.
2. I don't receive any compile errors.
3. The next, previous, last buttons are clickable
The BIG PROBLEM IS my search page does not bring back any results. If it is bringing back results they are not displaying on the page. My assumption is no results are being returned. I think it would be too much code to try and place here so I am attaching the aspx file in text format and the aspx.vb file also in text format. I can't tell you where I'm going wrong with this so someone will have to look through the code to determine the problem. I've tried everything I know to do at this point. I thought about searching for some more sample code of datalist paging but I figured since the pages are not failing then maybe I am very close to making this work. PLEASE HELP!!!!!!!!!!!!!!!!! search.txt
search-aspx-vb-CodeBehind.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I do believe that ToA0M's solution would hae worked. However, I found some datalist paging code that works and is easy to implement.
ASKER
Both solutions work.
ASKER