M
myzm
Hi,
I have a FormView looks like this
<asp:FormView>
<ItemTemplate>
<asp:Table>
<asp:TableRow>
<asp:TableCell>
<asp:TextBox ID="textBox1">
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</ItemTemplate>
</asp:FormView>
I want to reference the TextBox in DataSource parameters.
<asp:ObjectDataSource UpdateMethod="UpdateDistrict">
<UpdateParameters>
<asp:ControlParameter Name="ID" ControlID="TextBox1"
PropertyName="Text" />
</UpdateParameters>
</asp:ObjectDataSource>
How can do it? Thanks.
I have a FormView looks like this
<asp:FormView>
<ItemTemplate>
<asp:Table>
<asp:TableRow>
<asp:TableCell>
<asp:TextBox ID="textBox1">
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</ItemTemplate>
</asp:FormView>
I want to reference the TextBox in DataSource parameters.
<asp:ObjectDataSource UpdateMethod="UpdateDistrict">
<UpdateParameters>
<asp:ControlParameter Name="ID" ControlID="TextBox1"
PropertyName="Text" />
</UpdateParameters>
</asp:ObjectDataSource>
How can do it? Thanks.