Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Sir/Madam,
I need help in ADO.NET based project. My query is as if I have two form in ado.net and first contains a text box and a command button in text box one need to enter ID and has to get recrod on the basis of that ID in second page in grid view.


For example :- 1. A table with cus name in sql which contails field ID,Name,Adress,File(.xls,pdf or .doc).
2. First Page in ADO.NET contails one texbox and one command button.
3. Automatically fetch record from database on the basis of ID which was filled in first page text box in grid view.

Thanks and Regards
Ravindra Bisht
Posted

Your project specific requirements cannot be solved here on Q&A section as it involves a lot of code. But I will give you link to a small article which contains all the usual ADO.NET functionality. Please refer to the following article showing how to perform basic CRUD operations and hopefully you should be able to implement your functionality without much problems.

A Beginner's Tutorial for Understanding ADO.NET[^]
 
Share this answer
 
Comments
Ravindra Bisht 21-Aug-12 5:44am    
Rahul, can u just give me better source code for this?
Rahul Rajat Singh 21-Aug-12 6:04am    
It would be very difficult to provide project specific code. I seriously suggest you go through that article. ADO.NET is relatively simple and I am sure once you understand the basics, you will implement it very easily.
I prefer to recommend another beginner's tutorial; this is another CodeProject article:
Using ADO.NET for beginners[^].

—SA
 
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