databinding

S

Sabina

i have used data binding for a dropdownlist control.the datatextfield is a
string column and data value field is a int column.if i use
dropdownlistobject.SelectValue property it returns only string.
how to retrieve the selected value as int?
when i want to set one value where i know only the datavaluefield value dont
know the index or datatextfield value how to make the selection based on
datavalue field?.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top