repeater传参
<a href='followvisitAdd.aspx?Id=<%#Eval("contentid") %>&followupcontent=<%#Eval("Followupcontent") %>&followupresult=<%#Eval("Followupresults") %>'><asp:Label ID="update" runat="server" Text="修改"></asp:Label></a>
int conid = Utils.GetQueryInt("contentid");
string follcon = Utils.GetQueryString("followupcontent");
string follres = Utils.GetQueryString("followupresults");
Updfollowup(conid,follcon,follres);
我想从上面连接中传到后台参数,然后填充textbox,然后点击按钮进行修改功能,不知道怎么把传过来的数据填充到textbox中,并传到方法中
------解决方案--------------------string aaa=Request["Id"].ToString();
string bbb=Request["followupcontent"].ToString();
string ccc=Request["followupresult"].ToString();
......
------解决方案--------------------if (this.txtcontant.Text.Trim() != "" || this.txtresults.Text.Trim() != "")
{
int conid = Utils.GetQueryInt("contentid");
this.txtcontant.Text = Request["followupcontent"].ToString();
this.txtresults.Text = Request["followupresults"].ToString();
string follcon = txtcontant.Text;
string follres = txtresults.Text;
Updfollowup(conid,follcon,follres);