Link to home
Start Free TrialLog in
Avatar of assaultkitty
assaultkitty

asked on

set and get method to connect to a sql database in C#

I need an example on how get and set method to retrieve information from a sql database.  If you have available documentation available.  This is information is for homework.
ASKER CERTIFIED SOLUTION
Avatar of Tom Beck
Tom Beck
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of assaultkitty
assaultkitty

ASKER

I am sorry I was googling set and method sqldatabase.
I have not used or seen a table adapter.  No example or explain in book.  thanks.
Not suggesting the TableAdapter method. You are looking at the wrong section of the page I cited. Look at the Command Object section.
I see it.  thanks.
tommyboy, you are true expert and teacher.  I have the program up and running.  It is not connected to the database.  So, I am going to start another question.  You solved this question.
hitcounter.docx
Thanks. When you raise three children to adulthood, you cannot help but gain some teaching skills.
I really appreciate it.  I did not have a C# class prior to doing this class so I am learning two things at once.  Thanks again.
Got to do the right thang!
You did it, thanks.