娱乐2人转吧 关注:25贴子:593
  • 1回复贴,共1
{
SqlConnection conn=new Sqlconnection("server=;database=;uid=;pwd=;");
SqlDataAdapter sda=new SqlDataAdapter("sqlyuju");
DataSet ds=new DataSet();
sda.Fill(ds,"aaa");
dataGridViwe1.DataSource=ds.Tables[0];
}


IP属地:黑龙江1楼2013-07-22 14:34回复
    {
    SqlConnection conn=new Sqlconnection("server=;database=;uid=;pwd=;");
    SqlDataAdapter sda=new SqlDataAdapter("sqlyuju",conn);
    DataSet ds=new DataSet();
    sda.Fill(ds,"aaa");
    dataGridViwe1.DataSource=ds.Tables[0];
    }


    IP属地:黑龙江2楼2013-07-22 14:44
    回复