Accessing an ADO Recordset or Record from ADO.NET

Discussion in 'ASP .Net' started by nita, Nov 20, 2004.

  1. nita

    nita Guest

    Hi,

    I am trying to Accessing an ADO Recordset or Record from ADO.NET.

    myDA.Fill(myDS, adoRS, "Employee")

    the above statement generates the build error -
    C:\Inetpub\wwwroot\comnet\ListEmployee.aspx.vb(46): Overload resolution
    failed because no accessible 'Fill' accepts this number of arguments.

    Please help me to solve this problem

    regards,
    Nita
     
    nita, Nov 20, 2004
    #1
    1. Advertising

  2. nita

    Saravana Guest

    Dataset fill method wont accept three parameter, only two parameters is
    accepted. For accessing ADO recordset from ADO.NET, refer this two
    articles,
    http://www.c-sharpcorner.com/vbnet/vbcode/ADORecSetFromADONetMCB.asp
    http://msmvps.com/gbvb/archive/2004/05/10/6178.aspx



    --
    Saravana
    http://dotnetjunkies.com/WebLog/saravana/
    www.ExtremeExperts.com


    "nita" <> wrote in message
    news:#T$...
    > Hi,
    >
    > I am trying to Accessing an ADO Recordset or Record from ADO.NET.
    >
    > myDA.Fill(myDS, adoRS, "Employee")
    >
    > the above statement generates the build error -
    > C:\Inetpub\wwwroot\comnet\ListEmployee.aspx.vb(46): Overload resolution
    > failed because no accessible 'Fill' accepts this number of arguments.
    >
    > Please help me to solve this problem
    >
    > regards,
    > Nita
    >
    >
    >
    >
    >
     
    Saravana, Nov 20, 2004
    #2
    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. Developer
    Replies:
    0
    Views:
    485
    Developer
    Aug 11, 2003
  2. Tim Zych
    Replies:
    0
    Views:
    1,681
    Tim Zych
    Dec 14, 2003
  3. Mac

    Load XML from ADO Recordset

    Mac, Jan 13, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    703
  4. Khurram Hanif

    ADO recordset problem

    Khurram Hanif, May 5, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    471
    Robbe Morris [C# MVP]
    May 5, 2005
  5. Hung Huynh
    Replies:
    8
    Views:
    313
    Bob Barrows
    Sep 24, 2003
Loading...

Share This Page