我+了: using System.Data.OleDb;说我语法错误,我晕提示: D:\Documents and Settings\ketle\My Documents\Visual Studio Projects\WindowsApplication4\Form1.cs(312): 语法错误,应输入“(”D:\Documents and Settings\ketle\My Documents\Visual Studio Projects\WindowsApplication4\Form1.cs(312): 应输入 )
using System.Data.OleDb;说我语法错误,我晕提示:
D:\Documents and Settings\ketle\My Documents\Visual Studio Projects\WindowsApplication4\Form1.cs(312): 语法错误,应输入“(”D:\Documents and Settings\ketle\My Documents\Visual Studio Projects\WindowsApplication4\Form1.cs(312): 应输入 )
{ this.richTextBox1.Text="";
this.oleDbConnection1.Open();
this.oleDbDataAdapter1.Fill(this.dataSet11,"product"); string s="";
using System.Data.OleDb;
OleDbDataReader dreader=this.oleDbDataAdapter1.SelectCommand.ExecuteReader();
while(dreader.Read()) {
s+=drerder.GetString(3)+"\n";}
this.richTextBox1.Text=s;
this.oleDbConnection1.Close();
//this.oleDbDataAdapter1.Fill(this.dataSet11);
}
}
只是一个按钮而已呀
using System.Data.OleDb