Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32059

How to create a connection to a SQL database in a class and use the connection on a button event in another form.

$
0
0

Hi guys,

I am a beginner in C#. I want to create a class which will give a connection to my  SQL database and I want to use this connection on a button event in another form.How can I accomplish this? Please help me out.

Thanks in advance


Viewing all articles
Browse latest Browse all 32059

Trending Articles