Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find value in a column of data view
Message
From
10/08/2012 13:42:13
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01550250
Message ID:
01550302
Views:
77
This message has been marked as the solution to the initial question of the thread.
Dmitry,

I'm not "up" on the ASP.NET DropDownList, but if it has a .SelectedIndex property, you should be able to get your value something like this:
int RecNo = ddlPriority.SelectedIndex;
string NumDays = dvPriority[RecNo][["NUM_DAYS"];
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform