Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ADO.NET
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 20-Aug-12 18:03pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
Comments
rbisht2011 at 21-Aug-12 5:44am
   
Rahul, can u just give me better source code for this?
Rahul Rajat Singh at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I prefer to recommend another beginner's tutorial; this is another CodeProject article:
Using ADO.NET for beginners[^].
 
—SA
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,260


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 21 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100