Multiple parameters in ASP control Databinding

Discussion in 'ASP .Net Web Controls' started by Databound up, Feb 1, 2010.

  1. Databound up

    Databound up Guest

    I have a datalist control that I am binding to a custom class. The class
    returns a list for the select statement, provides an update, delete, and
    insert procedure too. Initially these procedures only took one parameters,
    the class I was binding the list to. Recently I added another parameter to
    the procedures which I mapped to a drop down on the webpage. Now then I try
    to bind to the insert method, I get an error that the datasource could not
    find a non-generic method insert that takes only the class parameter I was
    initially using. This is true, a non-generic method doesn't exist. I only
    have one that takes two parameters now and the other parameter is mapped to
    the drop down list. Why isn't the call including this parameter?
     
    Databound up, Feb 1, 2010
    #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. Replies:
    0
    Views:
    593
  2. Luis Esteban Valencia

    Databinding within an asp:textbox control

    Luis Esteban Valencia, Jan 12, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    4,226
    Luis Esteban Valencia
    Jan 12, 2005
  3. John R. Lewis
    Replies:
    2
    Views:
    1,008
    Douglas J. Badin
    Jan 25, 2006
  4. H5N1
    Replies:
    1
    Views:
    788
    Alvin Bruney [MVP]
    Oct 8, 2006
  5. Replies:
    2
    Views:
    506
  6. jobs
    Replies:
    0
    Views:
    2,412
  7. Jc Morin
    Replies:
    1
    Views:
    336
    Jc Morin
    Dec 5, 2003
  8. Earl Teigrob
    Replies:
    1
    Views:
    683
    Shravan
    Mar 1, 2004
Loading...