SqlConnection con=new SqlConnection(conStr);
string sele="select poname,podata from power_supplier where rk=0 and ponum='"+comboBox1.Text+"'";
SqlCommand cmd=new SqlCommand(sele,con);
con.Open();
SqlDataReader read1=cmd.ExecuteReader();
if(read1.Read())
{
this.textBox4.Text=read1[0].ToString();
this.textBox5.Text=read1[1].ToString();
}
read1.Close();
con.Close();
-------------------------------------------
上面这些代码是从数据集中读出数据天到相应的textBox里面去 不知对你有帮助没~