关于dataBindings的问题?????
SqlConnection sqlconn = new SqlConnection();sqlconn.ConnectionString = connString;
string sql = "select * from manager_Info";
SqlDataAdapter myAdapter = new SqlDataAdapter(sql, sqlconn);
DataSet ds = new DataSet();
myAdapter.Fill(ds, "manager_Info");
dataGridView_manager_info.DataSource = ds;
dataGridView_manager_info.DataMember = "manager_Info";
textBox_manager_NO.DataBindings.Add("text", ds, "manager_Info.Manager_ID");
textBox_manager_user.DataBindings.Add("Text", ds, "manager_Info.Manager_UserName");
textBox_manager_password.DataBindings.Add("Text", ds, "manager_Info.Manager_PassWord");
textBox_manager_tele.DataBindings.Add("Text", ds, "manager_Info.Manager_Tele")
报错…