473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

RECORDSET

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

I hope to receive help.

Nov 17 '05 #1
4 3131
Are you talking about ASP or ASP.NET?
This group is for ASP.NET

For ASP 3.0 questions try this newsgroup:
microsoft.public.inetserver.asp.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
http://Steve.Orr.net
"NAIME ESTEVES" <NE******@HOUSTON.RR.COM> wrote in message
news:a0****************************@phx.gbl...
I am trying to make a data base for a ASP website. But
when I try to write the code DataSet11.Recordset.Addnew.
Appears error when I compile to test the data base.

I hope to receive help.

Nov 17 '05 #2
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).Rows.AddNew()
drNew(0) = "..."
ds.Tables(0).Rows.Add(drNew)

"NAIME ESTEVES" <NE******@HOUSTON.RR.COM> wrote in message
news:a0****************************@phx.gbl...
I am trying to make a data base for a ASP website. But
when I try to write the code DataSet11.Recordset.Addnew.
Appears error when I compile to test the data base.

I hope to receive help.

Nov 17 '05 #3
read book

"NAIME ESTEVES" <ne**********@hotmail.com> wrote in message
news:ef**************@tk2msftngp13.phx.gbl...


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!

Nov 17 '05 #4


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!
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tom | last post by:
I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use...
6
by: lenny | last post by:
Hi, I've been trying to use a Sub or Function in VBA to connect to a database, make a query and return the recordset that results from the query. The connection to the database and the query...
36
by: kjvt | last post by:
Based on a prior posting, I've written a function to convert a recordset to a dataview. The first call to the function for a given recordset works perfectly, but the second call always returns a...
0
ADezii
by: ADezii | last post by:
When you create an ADO Recordset, you should have some idea as to what functionality the Recordset does/does not provide. Some critical questions may, and should, be: Can I add New Records to the...
6
by: Oko | last post by:
I'm currently developing an MS Access Data Project (.adp) in MS Access 2002. One of the reports within the DB uses data that is Dynamic and cannot be stored on the SQL Server. To resolve this, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.