string strsql1 ="select * from product where name=session[product_id]

[复制链接]
查看11 | 回复3 | 2011-9-22 11:17:09 | 显示全部楼层 |阅读模式
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["Cus...
回复

使用道具 举报

千问 | 2011-9-22 11:17:09 | 显示全部楼层
string s_str,old_sqlold_sql = dw_1.getsqlselect()s_str = old_sql + ' Where name = ' + '~'' + sle_1.text + '~''dw_1.setsqlselect(s_str)dw_1.settransobject(sqlca)dw_1.retrieve()...
回复

使用道具 举报

千问 | 2011-9-22 11:17:09 | 显示全部楼层
tring strsql1 ="select name, amount from product where name=session[product_id]"...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行