Can some please help me, I have tried other forum and nobody seems to reply back.
I have a dropdownlist box which I want users to select an Item, then I want the textbox to display the item the user have selected from the dropdownlist box but I want this inside a formview which I am using for update.
This is the code I have tried:
Partial Class _03_update_update_activity Inherits System.Web.UI.Page
Protected Sub ddl_activity_status_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Dim ddl_activity_status As DropDownList = TryCast(sender, DropDownList)
Dim txt_activity_status As TextBox = TryCast(FormView1.Row.FindControl("TextBox1"), TextBox)
txt_activity_status.Text = ddl_activity_status.SelectedValue.ToString()
<asp:DropDownList ID="ddl_activity_status" runat="server" AutoPostBack="True"
View Complete Post