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. Advertisements

  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. 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. Developer
    Replies:
    0
    Views:
    616
    Developer
    Aug 11, 2003
  2. Tim Zych
    Replies:
    0
    Views:
    1,806
    Tim Zych
    Dec 14, 2003
  3. =?Utf-8?B?SmVmZg==?=

    Insert multiple record into table using ado.net ?

    =?Utf-8?B?SmVmZg==?=, Apr 14, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,059
    =?Utf-8?B?SmVmZg==?=
    Apr 14, 2004
  4. =?Utf-8?B?SmVmZg==?=
    Replies:
    1
    Views:
    2,886
    Marina
    Apr 14, 2004
  5. ronaldlee

    Transfer ADO Code to ADO.NET

    ronaldlee, Dec 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    625
    Kevin Spencer
    Dec 17, 2004
  6. Replies:
    0
    Views:
    1,497
  7. hansiman

    Record set in ado.net

    hansiman, Feb 24, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    154
    hansiman
    Feb 24, 2004
  8. Hung Huynh
    Replies:
    8
    Views:
    610
    Bob Barrows
    Sep 24, 2003
Loading...