62,074
社区成员
发帖
与我相关
我的任务
分享
if (!IsPostBack)
{
if (Session["ExtendParameter"] != null
&& string.IsNullOrEmpty(Session["ExtendParameter"].ToString()))
{
string sid = Session["ExtendParameter"].ToString();
string strSQL = string.Format("select * from SI_INFO where SI_ID='{0}'", sid);
DataTable dt = new DataTable();
DBHelper.FillDataTable(strSQL, dt);
if (dt.Rows.Count == 1)
{
this.ctr_Id.Value = dt.Rows[0]["SI_ID"].ToString();
this.ctr_CusNo.Value = dt.Rows[0]["ACCOUNTNUM"].ToString();
this.ctr_Name.Value = dt.Rows[0]["NAME"].ToString();
this.ctr_Mobile.Value = dt.Rows[0]["PHONE"].ToString();
}
}
}