我们家那很传统,我和我男朋友已经偷吃了禁果,我不知道怎么面对我父母
来源:百度知道 编辑:UC知道 时间:2024/05/02 10:50:24
已经做了就做了吧,他们是世界上最爱你的人,会原谅你的。
装做什么事情也没有发生过
麻烦帮我看看这段代码...我再告诉你怎么做....
vs2005
编辑代码:
string id = (string)Session["ID"];
//string name=Session["D_Name"];
string sql = "select * from [Tb_employee] where D_ID='" + id + "'";
string connstr = ConfigurationManager.ConnectionStrings["Mispersonalconn"].ConnectionString;
SqlConnection Sqlconn = new SqlConnection(connstr);
SqlDataAdapter sda = new SqlDataAdapter(sql, Sqlconn);
SqlCommandBuilder sc = new SqlCommandBuilder(sda);
DataSet ds = new DataSet();
sda.Fill(ds, "temp");
ds.Tables["temp"].DefaultView.Sort = "id";
int index = ds.Tables["temp"].DefaultView.Find(id);
ds.Tables["temp"].Rows[index]["D_ID"] = TxtID.Text.Trim();
ds.Tables["temp"].Rows[index]["D_Name"] = TxtName.Text.Trim(); <