databinding

Discussion in 'ASP .Net Web Controls' started by Sabina, Jan 17, 2005.

  1. Sabina

    Sabina Guest

    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?.
     
    Sabina, Jan 17, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dbuchanan
    Replies:
    3
    Views:
    715
    Cor Ligthert [MVP]
    Feb 1, 2006
  2. neil m
    Replies:
    3
    Views:
    500
    Jeff Louie
    Jun 28, 2003
  3. Christof Nordiek

    DataBinding with Array

    Christof Nordiek, Jul 1, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    2,814
    Marina
    Jul 1, 2003
  4. jobs
    Replies:
    0
    Views:
    1,776
  5. Earl Teigrob
    Replies:
    1
    Views:
    447
    Shravan
    Mar 1, 2004
Loading...

Share This Page