OleDbDataAdapter da = new OleDbDataAdapter("select username as 用户名,"+"password as 密码,realname as 真实姓名 from Customers ", Con);
问题是:System.Data.OleDb.OleDbException:“SELECT 子句中包含一个保留字、拼写错误或丢
OleDbDataAdapter da = new OleDbDataAdapter("select username as 用户名,"+"password as 密码,realname as 真实姓名 from Customers ", Con);
问题是:System.Data.OleDb.OleDbException:“SELECT 子句中包含一个保留字、拼写错误或丢
password是保留字,用[password],方括号,另外,密码后面的逗号是中文的,应该修改为半角逗号才行。