I am new to C# and OOP as well and am making a DB class to connect with SQL Server. Could you help me create a connection function and explain how to reuse it in many forms? I have seen a function from http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.aspx but am unsure how to use it in another form.
Regards, Touseef