Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir/mam



I am newbie in .net.
How can add dropdown item list and textbox.
Both value are numeric and show different Textbox in asp.net(C#) .





Thanks for advance

Regards,
shailendra singh
Posted
Updated 28-Mar-11 1:02am
v2
Comments
Prerak Patel 28-Mar-11 7:04am    
not clear...
Pratik Bhesaniya 28-Mar-11 7:10am    
can u plz elaborate it?

Hope this[^] might give you an idea.
 
Share this answer
 
Hi Refer below link for dropdownlist :

http://www.codersource.net/asp-net/asp-net-articles/dropdownlist-in-asp-net.aspx[^]

And for textBox try this :

<asp:textbox id="TXTID" runat="server" text="<%# Bind(" fieldname")="" %&gt;"="" xmlns:asp="#unknown">

Here: FieldName is the name of the "database column" whose value u want to bind in Textbox.
 
Share this answer
 

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