473,792 Members | 2,877 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Stupid NUBE Question


I have been thrown in the the cSharp grinder and I'm lost, I have t
connect to a web service and sent is some data, well I can connect jus
fine thanks to some very busy friends. Now that I'm not getting an
errors when I build the web page, I need to build dynamic array base
off a connection to an orcale db.

How do I make a connection to orcale, and how do I make a dynamic arra
based on the sql results?

"Please help OB1 your our last hope"

-E

--
Thorax
-----------------------------------------------------------------------
Thoraxx's Profile: http://www.msusenet.com/member.php?userid=96
View this thread: http://www.msusenet.com/t-187040460

Nov 17 '05 #1
1 1092
Hi,

Never worked with Oracle, though I guess my idea might still be helpful.
Assuming you use .NET 1.1, there is a managed data provider for Oracle
(System.Data.Or acle namespace if I am not mistaken).

Now, open the connection to the Oracle database by creating the
OracleConnectio n class and calling its Open method.
Now, create a new instance of the OracleCommand class, configure it with the
appropriate query and parameters, then call the command's ExecuteReader
method.
Assign the result of this method to a variable of type DataReader.

Then, create a new ArrayList and while the DataReader can read a value, read
it and add to the ArrayList.

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]
"Thoraxx" <Th************ @no-mx.msusenet.com > wrote in message
news:Th******** ****@no-mx.msusenet.com ...

I have been thrown in the the cSharp grinder and I'm lost, I have to
connect to a web service and sent is some data, well I can connect just
fine thanks to some very busy friends. Now that I'm not getting any
errors when I build the web page, I need to build dynamic array based
off a connection to an orcale db.

How do I make a connection to orcale, and how do I make a dynamic array
based on the sql results?

"Please help OB1 your our last hope"

-EP
--
Thoraxx
------------------------------------------------------------------------
Thoraxx's Profile: http://www.msusenet.com/member.php?userid=960
View this thread: http://www.msusenet.com/t-1870404604


Nov 17 '05 #2

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

Similar topics

119
4638
by: rhat | last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant. Can anyone shed some light on what this will change and it will break stuff as converting HTML to XHTML pages DO break things. see, http://www.alistapart.com/articles/betterliving/ I read on http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/netfxcompat.asp It said they changed stuff like this
5
3138
by: raz | last post by:
Greetings all. I apologize for what is almost certainly a stupid question, but I can't figure this out, and have no more time for head bashing... The short version: what is the appropriate include file to define the CString type in an MFC based app? The longer version:
4
1449
by: IS | last post by:
At the recommendation of several people in this newsgroup I have downloaded two or three Compilers. One is the Beta version of Microsoft's Visual C++ 2005. I have entered a complete beginner code that looks like this: #include <iostream> using namespace std: //introduces namespace std int main( void )
2
1293
by: Ron Weldy | last post by:
I read that you don't need .cs files to deploy but I suppose if you are trying to reconstruct someone's work, you will need these files. Is that correct?
3
1162
by: rroman | last post by:
I have a very simple form, takes information from the user, updates a SQL database, now I just want to redirect to a "Thank You For Your Time" web page within the same bowser. ASP. NET VB
6
1618
by: Adam Smith | last post by:
I have posted this and similar questions repeatedly and can't even raise a single response. I am being led to believe that this then 'Must be a stupid question' although people say that there is no stupid question. Is that another for political correctness I am attempting an install of 7.4.3 on FreeBSD O/S 4.9, apparently remnants of 7.3.x are scattered around on the disk from (a) previous ports installation, causing mutex_lock/unlock,...
5
1882
by: Alberto Salvati | last post by:
Hi, List. My company has a VERY BIG product base on db2 udb v7.x. We want to di an upgrade to v9, but.... current db has a lot of procedure (cobol..!). Therefore, we've planned to rewrite this code in sql or other language. My (stupid, i think..) question is: someone know a "thing" (wizard, tool, application..) helpful to reduce needed work to convert/transform cobol code? For example, a tool that dows a reverse enigineering of...
2
1522
by: Lynx101 | last post by:
Hi, Is this a stupid question? Senario: Two tables linked together with an ID number. Question: When using a combo box, which refences another table by indexed autonumber, is there a way to copy the returned text value to a text field. I have many combo boxes and after the value changes I would like a normal text field to show the returned text value, regardless of which combo box was changed.
9
6502
by: AWW | last post by:
Running XP - Visual Studio 2005 - VB Want to have duplicate projects - one safe and stable - other for experimenting Can't fine easy way to make duplicate project. Stupid question? or stupid ME? Thanks.
9
1609
by: Alec | last post by:
Sorry guys, stupid question.... Am no programming expert and have only just started using php for creating dynamic news pages. Then I see a dynamic website without the php extension. http://www.newcarnet.com/Alfa%20Romeo_news.html?id=8380 It has the html extension that loads the required page dynamically.
0
9670
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10211
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10159
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2917
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.