Databound control

Discussion in 'ASP .Net Web Controls' started by Victor Irzak, Apr 27, 2004.

  1. Victor Irzak

    Victor Irzak Guest

    Hello,

    I have a data-bound control.
    I have a DataSource property.
    How should I generate HTML for it??
    It generates something like this: DataSource="<%# dataSet1 %>"
    I am using System.Web.UI.Design.DataSourceConverter but it generates:
    DataSource="dataSet"
    And then it throws cast exceptions.

    Has anyone successefully used it?

    TIA,

    Victor
     
    Victor Irzak, Apr 27, 2004
    #1
    1. Advertisements

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. Eric Maia

    Databound control displays old data

    Eric Maia, Oct 8, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    566
    Eric Maia
    Oct 20, 2004
  2. bienwell
    Replies:
    8
    Views:
    4,776
    bienwell
    Mar 21, 2005
  3. =?Utf-8?B?QVNQIERldmVsb3Blcg==?=

    Can't access databound dropdownlist properties in user control

    =?Utf-8?B?QVNQIERldmVsb3Blcg==?=, Nov 8, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    602
    =?Utf-8?B?QVNQIERldmVsb3Blcg==?=
    Nov 8, 2005
  4. rodchar
    Replies:
    2
    Views:
    614
    rodchar
    Dec 4, 2007
  5. rodchar
    Replies:
    0
    Views:
    577
    rodchar
    Nov 26, 2007
  6. debartsa
    Replies:
    1
    Views:
    528
    John Saunders
    Apr 9, 2004
  7. MattC

    Custom Templated Databound Control or derived control?

    MattC, Nov 23, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    316
    MattC
    Nov 23, 2005
  8. Manu
    Replies:
    0
    Views:
    302
Loading...