我有以下的hyperLinkField,我将一个值传递到文本框中的另一个页面。
<asp:GridView ID="PropertySearch_GridView" runat="server" AutoGenerateColumns="false" Height ="1px" Width ="300px" OnRowDataBound="GridView1_RowDataBound" OnPageIndexChanging="GridView1_PageIndexChanging" OnSorting="GridView1_Sorting" AllowPaging="true" AllowSorting="True" >
<Columns>
<asp:HyperLinkField DataTextField="Horizon_Property_Id" DataNavigateUrlFields="Horizon_Property_Id" HeaderText="Horizon_Property_Id"
DataNavigateUrlFormatString="~/CreateSurvey.aspx?Create_Prop_ID.text={0}" SortExpression="Horizon_Property_Id"
/>
当我运行应用程序并按下超链接时,CreateSurvey页面会打开,但Create_Prop_ID文本框不会填充。
有人可以帮忙。
此致
罗布