string strsql1 ="select * from product where name=session[product_id]我值想返回name和amount这2个数据,该怎么写?

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 18:22:06
string strsql1 =
xSjAa_hI>6`RTӼR[6 "ԶFMFThLfF$O_fs{Νل/Z3(ip ʨ\FMO`8'_5Yi'Wr/cz]~V;_fkw|*[UdFb/@.n*? h-($-@x̱e #LN*B.bw=` J`4tј2f dV2X,`2,@{d":`Uѧb>!`B#uucso,G>"xj͝n1=. ,T?ElN:G7遬vQ7CKv&M w6 =EcsJOowcITrյBl< $'09g˜e"kO@Y1{0ȇ|P'`Yڢt9.vRC

string strsql1 ="select * from product where name=session[product_id]我值想返回name和amount这2个数据,该怎么写?
string strsql1 ="select * from product where name=session[product_id]
我值想返回name和amount这2个数据,该怎么写?

string strsql1 ="select * from product where name=session[product_id]我值想返回name和amount这2个数据,该怎么写?
sql_view = "select * from tsmreturnmoneyrecord where id='" + Request.QueryString["rid"] + "'";
OleDbDataReader dr1 = list.GetList(sql_view);
if (dr1.Read())
{
txtorderid.Text = dr1["OrderId"].ToString();//订单编号
txtCustomer.Text = dr1["Customer"].ToString();//客户
txtSalesMan.Text = dr1["SalesMan"].ToString();//业务员
DropDownList1.Text = dr1["TimeCount"].ToString();//期次
txtReturnDate.Text = dr1["ReturnDate"].ToString();//回款时间
txtReturnMoney.Text = dr1["ReturnMoney"].ToString();//回款金额
DropDownList3.Text = dr1["PayType"].ToString();//付款类型
RadioButtonList1.Text = dr1["Invoice"].ToString();//是否开发票
txtReturnRemark.Text = dr1["Remark"].ToString();//备注
}
dr1.Close();