Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Dear friends, my database "ComputerData" has a table "ItemSet" with the following fields:
int ID, nvarchar(100) PCSLNo, nvarchar(100) MonitorSLNO, nvarchar(30) Location,....

What I have done: The clients need to enter the entire PCSLNo or MonitorSLNO in text boxes and submit to retrieve information from the table in aspx page through ListView pertaining to that field.

What I need to do: The clients will enter a few strings of PCSLNo or MonitorSLNo in text boxes. On submit, they will get whole information from the table pertaining to that field in aspx page (thrgough ListView or other suitable data control)

Further I would like to mention that I am using EF (asp.net4 with sql2008)foe database query in developing my project and I am writing all the codes in aspx.cs(code behind)pages.

Hope reply/suggestion from friends with excellent background will sort out my problem very soon. Waiting for solution from all...Thanks a lot.
Posted
Updated 14-Mar-12 5:51am
v3
Comments
OriginalGriff 14-Mar-12 11:05am    
And your problem is?
What have you tried?
Brajabas 14-Mar-12 11:38am    
What I have done: The clients need to enter the entire PCSLNo or MonitorSLNO in text boxes and submit to retrieve information from the table in aspx page through ListView pertaining to that field.

What I need to do: The clients will enter a few strings of PCSLNo or MonitorSLNo in text boxes. On submit, they will get whole information from the table pertaining to that field in aspx page (thrgough ListView or other suitable data control)
Herman<T>.Instance 14-Mar-12 11:06am    
what is your question?
Brajabas 14-Mar-12 11:31am    
What I Have done: if he clients enter entire PCSLNo or MonitorSLNO in the text boxes and submit, they can retrieve other data pertaining to that field in aspx page (in ListView).
What I want to do: the clients will enter few strings pertaining to a field which will retrieve all the related data in on aspx page (through List view or other suitable data control).

1 solution

My guess would be that your problem is of wildcard search. Look into the like operator to be used in SQL queries or EF queries.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900