•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 391,631 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,791 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2718 | Replies: 3 | Solved
•
•
Join Date: Jul 2004
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
Hi All,
I am using a DropDownList in my page and I am binding the property of this server control like follows.
<%#DropDownList1.SelectedItem.Text%>
What I am finding is that it returns the text for the item I have selected. If I use the value property of the ListItem, then also it returns the text for the item I have selected.
In that case, what is the difference between the text property and the value property of the ListItem class??
I am sorry, if it is a very basic question..
Thanks and Regards,
CSPEK
I am using a DropDownList in my page and I am binding the property of this server control like follows.
<%#DropDownList1.SelectedItem.Text%>
What I am finding is that it returns the text for the item I have selected. If I use the value property of the ListItem, then also it returns the text for the item I have selected.
In that case, what is the difference between the text property and the value property of the ListItem class??
I am sorry, if it is a very basic question..
Thanks and Regards,
CSPEK
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
- java and using observable class (Java)
- Circle class (C++)
- "missing storage-class or type specifiers" error (C++)
- first math class in uni (Geeks' Lounge)
Other Threads in the ASP.NET Forum
- Previous Thread: Porting asp to asp.NET (with fileup)
- Next Thread: Log In Failure



Threaded Mode