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

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top