Hi
I try to fill a combobox with a dataset. I see the data in the dataset, but when i try to bind this dataset with a combobox. The list is fill only whith this message "System.Data.Da taRowView". That was my code, can you help me.
Thanks!
Tr
'Create connection object
Dim strConnNorthwin d As String = "Provider=oraol edb.oracle;User Id=sigrem; " &
"Data Source=sigrem.m etis;password=a dminsigrem
Dim cnPubs As OleDbConnection = New OleDbConnection (strConnNorthwi nd
Dim PubsDA As New OleDbDataAdapte r("SELECT * FROM Projet", cnPubs
Dim dsAuthors As New DataSe
PubsDA.Fill(dsA uthors, "Projet"
Dim dvAuthors As DataView = dsAuthors.Table s("Projet").Def aultVie
With cboPub
.DataSource = dvAuthor
.DisplayMember = "NoProjet
End Wit
'With lstTes
' .DataSource = dvAuthor
' .DisplayMember = "NomUsager
'End Wit
'cboPubs.Select edIndex = -
'cnPubs.Dispose (
'PubsDA.Dispose (
Catch ex As Exceptio
MsgBox(ex.Messa ge, MsgBoxStyle.Inf ormation, Me.Text
End Try 2 2688
Hi Antoine,
I don't see direct something, however the most change you have is that
"NoProjet" is not the name in the datatabel, it is case sensetive you know.
Did you know that those "with" statements are seldom used here anymore in
this newsgroup.
It's your choise of course, however for the typed characters you do not have
to do it, there are now more characters than without it.
However that was not the question, I hope the first sentence helps you.
Cor
Are you sure the datacolum names are correct? This is oftne the problem.
"Antoine" <an*******@disc ussions.microso ft.com> wrote in message
news:5F******** *************** ***********@mic rosoft.com... Hi,
I try to fill a combobox with a dataset. I see the data in the dataset,
but when i try to bind this dataset with a combobox. The list is fill only
whith this message "System.Data.Da taRowView". That was my code, can you
help me. Thanks!!
Try
'Create connection objects Dim strConnNorthwin d As String =
"Provider=oraol edb.oracle;User Id=sigrem; " & _ "Data Source=sigrem.m etis;password=a dminsigrem" Dim cnPubs As OleDbConnection = New
OleDbConnection (strConnNorthwi nd) Dim PubsDA As New OleDbDataAdapte r("SELECT * FROM Projet",
cnPubs) Dim dsAuthors As New DataSet PubsDA.Fill(dsA uthors, "Projet") Dim dvAuthors As DataView =
dsAuthors.Table s("Projet").Def aultView With cboPubs .DataSource = dvAuthors .DisplayMember = "NoProjet" End With 'With lstTest ' .DataSource = dvAuthors ' .DisplayMember = "NomUsager" 'End With 'cboPubs.Select edIndex = -1 'cnPubs.Dispose () 'PubsDA.Dispose () Catch ex As Exception MsgBox(ex.Messa ge, MsgBoxStyle.Inf ormation, Me.Text) End Try This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Suresh Tri |
last post by:
Hi all,
I am interested in extracting the class or jar files which are stored
as java stored procedures in Oracle. But I want to know if these are
stored as references to external files in Oracle database or directly
inside the database. In case if it is directly stored inside the
database is there any way to extract it?. If I can extract these java
files, can these be used in non Oracle applications?
Please help,
|
by: Seung Y. Kim |
last post by:
Hi everyone.
I am having a big performance issue with my ASP application with
Oracle database.
The application itself is a very database-generic one, so I can switch
from Access to SQLServer to Oracle with ease.
The web-application runs great with Access and SQLServer. But when it
comes to Oracle, the performance really lags.
|
by: Daisy |
last post by:
Download Oracle Data Provider for .NET
(http://otn.oracle.com/tech/windows/odpnet/index.html)
today to empower your .NET applications with the Oracle
Database!
Try out the new features for XML support like:
- Store XML data natively in the database server
as the Oracle database native type, XMLType.
- Access relational and object -relational data
|
by: Daisy |
last post by:
To empower your .NET web services with the Oracle
Database, download Oracle Data Provider for .NET (ODP.NET)
from : http://otn.oracle.com/tech/windows/odpnet/index.html
Try out the new features for XML support like:
- Store XML data natively in the database server as the
Oracle database native type, XMLType.
- Access relational and object -relational data as XML
data from an Oracle database instance into Microsoft .NET
|
by: Hai Ly Hoang \(MT00KSTN\) |
last post by:
Hi,
I'm an Oracle newbie. I've just created a table in Oracle with CREATE TABLE.
Now, in C#, how to connect to database and get my table ?
Thanks
| |
by: ´ï´ï |
last post by:
How to connect asp.net with Oracle Database?
Where and How to? Thanks very much.
|
by: Mark Brown |
last post by:
I'm trying to access an Oracle database vb.net. I found several examples.
I tried following each one, but I get the same error no matter what I try.
I don't really understand what the error means (I've never tried accessing
an Oracle database before). The error I get is:
ORA-12514: TNS:listener does not currently know of service requested in
connect descriptor
I installed the oracle dll and added it as reference (I get the same error...
|
by: Reedsp |
last post by:
Version: MSAccess 2003 SP2
Explination: I have a database that connects to an oracle database. I have setup an ODBC connection under the System DSN tab in the ODBC Source Administrator. The first time I go to a form that has fields from the oracle table, the "Oracle ODBC Driver Connect" window appears, as it should. Once I type in the password and continue with the database, that window never appears again. If I enter the password in...
|
by: Jack |
last post by:
Training Classes for Oracle10g, 9i, 8i
Certification training in Oracle10g and 9i: DBA, Developer,
Discoverer. training conducted at your location worldwide. Courseware
licensing also available.
http://a.uuload.com/Oracle-Database.htm
Unlock the Value of Your IT System
Confio Software's Ignite for Oracle uses wait-event analysis to
improve database performance by 65% or more. Gain visibility of every
Oracle wait event. Download free...
|
by: Winder |
last post by:
Training Classes for Oracle10g, 9i, 8i
Certification training in Oracle10g and 9i: DBA, Developer,
Discoverer. training conducted at your location worldwide. Courseware
licensing also available.
http://a.uuload.com/Oracle-Database.htm
Unlock the Value of Your IT System
Confio Software's Ignite for Oracle uses wait-event analysis to
improve database performance by 65% or more. Gain visibility of every
Oracle wait event. Download free...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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...
|
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |