Click here to Skip to main content
15,901,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi how to code search and update in Asp.net c#?
Posted

You need to try first. To start with, follow these steps:
1. Design a page where you place few search parameters. For example, searching a name in DB, so a textbox for it.
2. Now, place a search button as the trigger event of the search. On click of search button you would be writing your logic.
3. In search button click, get the search parameters (like the name in textbox here), use it, form a query and execute on database
4. Get the query result back in a datatable and bind it to a grid or any other appropriate control based on your needs
5. For now, Gridview will display the retrieved result.

Try!
 
Share this answer
 
Hi,
here is what you looking for-
Static-Site Search Engine with ASP.NET/C#[^]

But, I will suggest you try it yourself first.
 
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