RECORDSET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • NAIME ESTEVES

    #1

    RECORDSET

    I am trying to make a data base for a ASP website. But
    when I try to write the code DataSet11.Recor dset.Addnew.
    Appears error when I compile to test the data base.

    I hope to receive help.

  • Steve C. Orr, MCSD

    #2
    Re: RECORDSET

    Are you talking about ASP or ASP.NET?
    This group is for ASP.NET

    For ASP 3.0 questions try this newsgroup:
    microsoft.publi c.inetserver.as p.general

    If you're talking about ASP.NET, recordsets aren't used any more with
    ADO.NET.

    --
    I hope this helps,
    Steve C. Orr, MCSD



    "NAIME ESTEVES" <NESTEVES@HOUST ON.RR.COM> wrote in message
    news:a0aa01c346 86$c7d03960$a40 1280a@phx.gbl.. .[color=blue]
    > I am trying to make a data base for a ASP website. But
    > when I try to write the code DataSet11.Recor dset.Addnew.
    > Appears error when I compile to test the data base.
    >
    > I hope to receive help.
    >[/color]


    Comment

    • Benjie Fallar

      #3
      Re: RECORDSET

      i guess you have a wrong code here.

      the dataset does not have Recordset object, if you are trying to add a new
      row in a dataset, please use the code below:

      Dim drNew as DataRow = ds.Tables(0).Ro ws.AddNew()
      drNew(0) = "..."
      ds.Tables(0).Ro ws.Add(drNew)

      "NAIME ESTEVES" <NESTEVES@HOUST ON.RR.COM> wrote in message
      news:a0aa01c346 86$c7d03960$a40 1280a@phx.gbl.. .[color=blue]
      > I am trying to make a data base for a ASP website. But
      > when I try to write the code DataSet11.Recor dset.Addnew.
      > Appears error when I compile to test the data base.
      >
      > I hope to receive help.
      >[/color]


      Comment

      • David Waz...

        #4
        Re: RECORDSET

        read book

        "NAIME ESTEVES" <nesteves9723@h otmail.com> wrote in message
        news:efthnlvRDH A.3880@tk2msftn gp13.phx.gbl...[color=blue]
        >
        >
        > I received a Error massage with "ds is not declare" from the code you
        > sent me. Please advise how can I declare the ds. I tried to use:
        > Dim ds as Data
        > or
        > Dim ds as Table
        >
        > But its not work.
        >
        > Thank in advance
        >
        > *** Sent via Developersdex http://www.developersdex.com ***
        > Don't just participate in USENET...get rewarded for it![/color]


        Comment

        • NAIME ESTEVES

          #5
          Re: RECORDSET



          I already solve the problem, but now I have another problem, when I
          launch the ASP Application it's not appear the field I already design on
          the webform.

          Can you help me??

          Thank in advance

          Naime

          *** Sent via Developersdex http://www.developersdex.com ***
          Don't just participate in USENET...get rewarded for it!

          Comment

          Working...