424,054 Members | 1,078 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,054 IT Pros & Developers. It's quick & easy.

how can i search record from database?

P: 13
How can I search record from database and it should display on another form in DataGrid or Textboxes

Help me please. I have to display search result on another web-page..

kindly tell me how can i do it...

thanks,
Dec 5 '11 #1
Share this Question
Share on Google+
4 Replies


Frinavale
Expert Mod 5K+
P: 9,731

P: 13
sir kindly can u tell me complete session program with connection string, i am new to use.. so i don't know that how can i use your given code to make a session program.
thanks in anticipation.

regards,
Akbar Abro
Dec 6 '11 #3

Frinavale
Expert Mod 5K+
P: 9,731
First you need to gather the "search criteria" (the information used for searching) from the user.

Then you need to store that information into session (or into a cookie or in the QueryString) in order to pass it to the second page.

On the second page, connect to your database, do your query based on the search criteria retrieved from Session (or the cookie or the QueryString), and display the results to the user.

It's pretty straight forward.
Dec 6 '11 #4

P: 13
Thank you sir i have done it... love this forum


regards,
Akbar Abro
Dec 7 '11 #5

Post your reply

Sign in to post your reply or Sign up for a free account.