C#对SqlSeven数据库实现增删改查的DBHelper类代码

2024-11-29 00:50:26
推荐回答(2个)
回答(1):

class DBHelper
{
private static string dbConStr = "server = .;database = PeopleManager;user id = sa;pwd = sa";
public static SqlConnection connection = new SqlConnection(dbConStr);
}

回答(2):

中午回来给你回答,我马上要去上课了,