I wrote code(connection string) to open sql database in form1 then i need to open the same database in form2 .
so i think to write method to do this ?
How to get this method to work in all forms in my project in c#, where i neet to plse it to work in all project forms????
plz help
I wrote code(connection string) to open sql database in form1 then i need to
Share
Create a base class for your forms that has all the shared functionality and inherit your forms from it.