
April 23rd, 2005, 02:31 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 1
Time spent in forums: 46 m 5 sec
Reputation Power: 0
|
|
|
Error message
I am studying database programming with VB. net 2003 and SQL server 2000.
I am working on a very simple task.
I have created a data connection, data adapter and data set.
On my vb form I created two labels and one button.
The labels have benn bined to to data set.
I put the folloowing code into the button:
Code:
SqlDataDapter1.Fill(DsExpensive1)
When I run the program and click on the button. Instead of filling the labels with data I get the following error message:
An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll
Additional information: System error
Any help? From what I understanf it isn't a problem with the code.
I am running windows XP pro
|