473,399 Members | 3,401 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,399 software developers and data experts.

Read recordset file

I am converting classic ASP project to ASP.NET (c#). In previouse project I
was saving recordsets to file by using
rs.Save(fileName,0) and then retriving it by simply using rs.Open(fileName).
In new project it all changed (will use different methods using ADO.NET,
XML, etc.), but I still need to read priviousely saved recordsets. I tried
Open(...) method of ADODB.RecordsetClass, but I can't use it since optional
parameters are not optional in c# and using null won't work. Is there any
way I can access old recordset files in c#?

Nov 17 '05 #1
1 2065
I do not know exactly how you can read your old recordsets, but have a
suggestion.
Have you tried using "Type.Missing" for the parameters you know are optional?

I have used it with wrapers that do not allow empty parameters, but know
some are optional. So, I type "Type.Missing" instead of a value.

Hope this helps.

Carlos Lozano
www.caxonline.net

"slavyan" wrote:
I am converting classic ASP project to ASP.NET (c#). In previouse project I
was saving recordsets to file by using
rs.Save(fileName,0) and then retriving it by simply using rs.Open(fileName).
In new project it all changed (will use different methods using ADO.NET,
XML, etc.), but I still need to read priviousely saved recordsets. I tried
Open(...) method of ADODB.RecordsetClass, but I can't use it since optional
parameters are not optional in c# and using null won't work. Is there any
way I can access old recordset files in c#?

Nov 17 '05 #2

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

Similar topics

1
by: Brian Parker | last post by:
Hello all, I have been trying to find some information for reading XML files into VB6 but I'm somewhat confused by what is possible without getting onto VB.Net. Basically I have to read some...
4
by: see_mun_lee | last post by:
I use asp to develop a web page to read an excel file containing Chinese Character then display it in the web page. Unfortunately, I cant display it!!! it will display (?????????). <META...
1
by: Fie Fie Niles | last post by:
I have IIS installed on XP Professional workstation machine. I have an ASP page that open connection to an Access database, then when trying to update the database, it gave me the error "cannot...
6
by: Phoebe. | last post by:
Hi, Good Day! How can I read data from excel file and save them into a recordset? Can someone help? Thanks in advanced. rgds, Phoebe.
3
by: roboB | last post by:
Whth .NET WS I have serialized an ADO.NET Recordset in an XML Stream like this: <xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'...
0
ADezii
by: ADezii | last post by:
Most Access Users realize that Recordsets, being virtual representations of a Query, Table, or SQL Statement, exist only in our PC's memory. They, and the data they contain, literally exist at one...
2
by: wallconor | last post by:
Hi, I am having a problem using Dreamweaver CS3 standard recordset paging behavior. It doesn’t seem to work when I pass parameter values from a FORM on my search page, to the recordset on my...
2
by: vegeta456 | last post by:
I have a really strange problem. I am using Microsoft Access 2003 under Windows XP Professional. I am trying to read a CSV file using VBA in Access using the following procedure. Public Sub...
4
by: =?Utf-8?B?R1ROMTcwNzc3?= | last post by:
Hi Guys, thanks for your help yesterday, I've got one more question, then I think I'm done for now,... Is it possible to insert recordset data in a javascript, for instance I have a javascript...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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,...

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.