mani

mani

  • NA
  • 1
  • 1.2k

binding combo box text to text box

Oct 19 2013 7:22 AM
 <asp:ComboBox ID="cmbBatchno"  OnSelectedIndexChanged="cmbBatchno_SelectedIndexChanged"
                                                                                    ItemInsertLocation="Prepend"  runat="server" AutoPostBack="True" DropDownStyle="Simple"
                                                                                    AutoCompleteMode="Append">
                                                                                </asp:ComboBox>
                                                                                <asp:TextBox ID="txtbatchno" runat="server" Text='<%#Bind("cmbBatchno") %>'   OnTextChanged="cmbBatchno_TextChanged" Visible="true"></asp:TextBox>

Answers (1)