Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > databinding

Reply
Thread Tools

databinding

 
 
Sabina
Guest
Posts: n/a
 
      01-17-2005
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?.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Databinding expressions are only supported on objects that have a DataBinding event jobs ASP .Net 0 09-25-2007 11:54 PM
Gridview encoding, or how to run commands before gridview's default databinding, or, how do I disable default databinding at all? Sergei Shelukhin ASP .Net 1 11-12-2006 01:43 PM
ComboBox design-time DataBinding setting questions. dbuchanan ASP .Net 3 02-01-2006 12:15 PM
DataGrid Custom Column Error when DataBinding "does not contain a definition for 'DataBinding'" Earl Teigrob ASP .Net Datagrid Control 1 03-01-2004 04:52 AM
is databinding in asp.net read-only? neil m ASP .Net 3 06-27-2003 11:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57