Click here to Skip to main content
15,918,808 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to check the text in combo box. please help me

XML
<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>
Posted
Comments
JoCodes 19-Oct-13 12:44pm    
check the text in combobox???
hsakarp 21-Oct-13 2:16am    
are you trying to get the text of combobox or assigning to textbox.
MANI 14 21-Oct-13 7:13am    
yes

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900