示例#1
0
        public static SqlConnection GetDBConnection()
        {
            string datasource = @"DESKTOP-E139CL9\SQLEXPRESS";

            string database = "CourseDB";

            return(DBSQLServerUtils.GetDBConnection(datasource, database));
        }
示例#2
0
        public static SqlConnection GetDBConnection()
        {
            string datasource = @"WIN-RHCDHFE6U8H";

            string database = "polyclinicdb";

            return(DBSQLServerUtils.GetDBConnection(datasource, database));
        }