LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.Net Controls On Front Panel (DataGrid) Not Displaying Data

Charles,
 
You have many way to do this, ADO, ODBC, OLEDB, and SQL Client.
First what are you connecting to....
If It's only MS SQL Server 2000 or Newer the SQL Client Best.
If it's Active X Only connection then ADO is the Best Choose but Slow.
The ODBC is an older verision of OLEDB Connection And this is the General Connection.
ADO is a cheap warpper of OLEDB, and OLEDB is faster that ADO.
OLEDB can connection to SQL Server, But not with the speed and ADV. functions of SQL Client.
 
The ADO is found in ADODB .Net Library
The rest is found in System.Data .Net Library
 
I use the OLEDB to talk to Access and SQL Server and didn't what to develop two difference connection.
 
This "Fill Data Grid" is a simple form of what happens in the SubVI.
There are alot opt. for the connection and Auto Complete Update, Insert, and Delete Commands, other Functions
That is not the purpose of this Tread.
 
Maybe someone should start a Tread on .Net System.Data and Databases in .Net 
 
0 Kudos
Message 11 of 20
(3,477 Views)

Hi,

i have got the solution for it.

i have displayed all the data from SQL server databse on a form using .NET object.

See the attachment.

Regards,
Dev
0 Kudos
Message 12 of 20
(3,445 Views)
What Attachment?
Check it, I don't see an attachment.
0 Kudos
Message 13 of 20
(3,433 Views)

Using BindingContext and DataGridView's DataBindings.Add Method , It works, but DataGridView can not input Chinese! It display Chinese well.

 

Download All
0 Kudos
Message 14 of 20
(3,279 Views)
Please do not ask the same exact question on three different threads. Same question here.
Message 15 of 20
(3,261 Views)

can you please post the code?

Thanks.

Regards,
Dev
CLD Certified Engineer
0 Kudos
Message 16 of 20
(3,174 Views)
Which code are you referring to, and whom are you asking? There's been several bits of code posted in this thread.
Message 17 of 20
(3,157 Views)

I was asking about the code for data display on .NET datagrid.

But fortunately i got the solution on the discussion forum in other link.

Thanks.

Regards,
Dev
CLD Certified Engineer
0 Kudos
Message 18 of 20
(3,139 Views)

Dev,

 

Could you post the link to the solution you found? It would be helpful for all who stumble by this discussion forum.

 

Thanks

Mehak 

Mehak D.
Message 19 of 20
(3,123 Views)

Hi Mehak,

Here is the code attachment of what I have developed for displaying SQL database values into .NET Datagrid.

Hope this is the one you are looking for..

Message Edited by ddddddddddddddddddddd on 09-12-2008 10:27 AM
Regards,
Dev
CLD Certified Engineer
0 Kudos
Message 20 of 20
(3,116 Views)