c#错误:“至少一个参数没有被指定值。”,怎么改正呢? 大家帮帮忙吧
OleDbConnectiondbconn1=newOleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;DataSou...
OleDbConnection dbconn1 = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=mydb.accdb");
dbconn1.Open();
OleDbCommand cmd_1 = dbconn1.CreateCommand();
cmd_1.CommandText = "select User from User_inf where User=na";
OleDbDataReader result = cmd_1.ExecuteReader(); 展开
dbconn1.Open();
OleDbCommand cmd_1 = dbconn1.CreateCommand();
cmd_1.CommandText = "select User from User_inf where User=na";
OleDbDataReader result = cmd_1.ExecuteReader(); 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询