2
Answers

Connect and Retrieve data from sql server database

George Paroglou

George Paroglou

13y
1.8k
1
I am trying to connect and retrieve data from my local sql server taking the searchable data from a textbox. Can somebody give me an example of code that I can achieve these? I read that in order to do  this connection, I have  to use either the ADO.NET or LINQ of ADO.NET... To be honest I didn't understand their differences.


I would appreaciate if anyone could help me.

Thanks in advanced.
Answers (2)
0
Abhimanyu K Vatsa

Abhimanyu K Vatsa

NA 50.9k 12.4m 13y
Look at the Sam's Post to learn basics of ADO etc.

Read this post, it will full-fil your ask. here you will find a working example too.

http://www.c-sharpcorner.com/UploadFile/abhikumarvatsa/1605/
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y

Look at the following. I know that the Forms section is quite large, but you will see the abundance of useful material.