使用ADO.NET和SQL Server进行HRMS项目构建
问题描述:
我正在将ADO.NET技术与Sql Server一起使用来制作HRMS项目....我将使用GUI通过Visual Studio进行创建..将通过向导完成连接..因此登录页面已制成....不同必须创建表单,如何在一个表单中加入Differnt表单?
I am making HRMS project USing ADO.NET Techology with Sql Server....I Will USE GUI to CREate by Visual studio..making Connection will Done by Wizard..So login page has been Made ....Different forms has to be made how to join Differnt form in One form ?
答
您可以通过创建另一表单的实例来使表单导航.就像您要在form1中调用form2一样:
You can make form to form navigation by creating the instance of the other form. Like you want to call form2 in form1:
addform add = new addform();
add.showdialog();
或者,如果您想独立打开该表格,请使用:
or you if want to independently open that form, then use:
add.show();