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. 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. rodchar
    Replies:
    2
    Views:
    527
    rodchar
    Dec 4, 2007
  2. rodchar
    Replies:
    0
    Views:
    379
    rodchar
    Nov 26, 2007
  3. debartsa
    Replies:
    1
    Views:
    331
    John Saunders
    Apr 9, 2004
  4. MattC

    Custom Templated Databound Control or derived control?

    MattC, Nov 23, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    176
    MattC
    Nov 23, 2005
  5. Manu
    Replies:
    0
    Views:
    159
Loading...

Share This Page