hi all,
can some please help me on the following, i want to be able to click on a select in a grid and the ID in that row to be copied to a textbox.
many thanks,
Roufg
<script runat="server">
protected void GridView1_RowCommand(Object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Select")
{
Label listPriceTextBox = (Label)row.FindControl("LISTING_ID");
Response.Write(TextBox2.Text);
}
}
</script>
<asp:GridView ID="GridView1" runat="server"
CellPadding="4" Height="90px" Width="454px" ForeColor="#333333"
GridLines="None">
<RowStyle BackColor="#EFF3FB" />
<AlternatingRowStyle BackColor="White" />
<Columns>
...
Go to the complete details ...