473,396 Members | 1,771 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,396 software developers and data experts.

Title / Subject :using Oracle In Vb.net

TITLE / SUBJECT :USING ORACLE IN VB.NET

1.I AM USING VB.NET TO CONNECT A REMOTE ORACLE DATABASE. I AM GETTING.IT CONNECTED TO THE DATABASE.
Then I created a DATASET using the connection.I the Dataset I have created a tableadhapter which will get the value from the DropDown list.I have put the SQL command as "Select emp_no,emp_name from emp_mast where emp_no='&emp_no'".But after this the table adapter does accept the required value to the query.Thus no result is generated.
Jun 23 '07 #1
1 1404
shweta123
692 Expert 512MB
Hi,

Please specify your code details if you are getting error anywhere.

If you want to fill the dataset here it is,

Dim con as new Oledb.Connection
con.connectionstring=''.............."
con.open

'Here you will your sql query
sql="..............."
Dim da new oledb.DataAdapter(sql,con)
da.fill(ds)

for i as integer=0 to da.tables(0).rows.count
'Process data here
next
con.close

Thanks



TITLE / SUBJECT :USING ORACLE IN VB.NET

1.I AM USING VB.NET TO CONNECT A REMOTE ORACLE DATABASE. I AM GETTING.IT CONNECTED TO THE DATABASE.
Then I created a DATASET using the connection.I the Dataset I have created a tableadhapter which will get the value from the DropDown list.I have put the SQL command as "Select emp_no,emp_name from emp_mast where emp_no='&emp_no'".But after this the table adapter does accept the required value to the query.Thus no result is generated.
Jun 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Will | last post by:
On the subject of Data Warehouses, Data Cubes & OLAP…. I would like to speak frankly about Data Warehouses, Data Cubes and OLAP (on-line analytical processing). Has it dawned on anyone else...
7
by: Will | last post by:
On the subject of Data Warehouses, Data Cubes & OLAP…. I would like to speak frankly about Data Warehouses, Data Cubes and OLAP (on-line analytical processing). Has it dawned on anyone else...
50
by: MozillaCensorsMe | last post by:
Hello, While I haven't finished my wonderful tutorial to save the world, I do have a simple question. What's the difference between h1 and the title tag? For me it seems as though both can...
4
by: Richard Trahan | last post by:
(This is a repost -- the original got tucked away into an old thread because I used the same Subject name.) I'm trying to change the document title to add an asterisk when the document becomes...
14
by: Del Ferguson | last post by:
Group, New to this list. I just found out that FireFox does not display the img alt attribute the same way IE does. I use both browsers to verify that my pages are readable. Dumb me for not...
4
by: DU | last post by:
I am looking for opinions on the issue of length of title attribute. First of all, the current HTML 4.01 spec is rather vague on this issue... at least, it isn't explicit nor normative. The HTML...
5
by: DFS | last post by:
I got 0 responses to my "Opinions on db structure" post. That's painful. Answer this time or I'll post it again... 8>) Thanks. ==================================================== I'm...
3
by: DexHex | last post by:
Hi, I am stumpt. Is there anyway to set the background image on a webpart title?
3
by: musosdev | last post by:
Hi guys I'm using a MasterPage for my website rebuild (vs2005, .net2, c#). I want to be able to control the Title element, both on the MasterPage and the Content pages. For example, on each...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.