PC Review


Reply
Thread Tools Rate Thread

Dataset syntax error

 
 
=?Utf-8?B?VFM=?=
Guest
Posts: n/a
 
      30th Mar 2005
From my windows form, I configured a Data Adapter and generated a dataset to
load data from a SQL database table. Then I used a code to fill the dataset.
The code returns the error message: "An unhandled exception of type
'System.Data.SqlClient.SqlException' occurred in system.data.dll
Additional information: System error" in the line that's read
SqlDataAdapter1.Fill(DS_SSCIntake1)

The code I used is the following. What am i doing wrong?

Dim IntakeBindingManager As CurrencyManager
SqlDataAdapter1.Fill(DS_SSCIntake1)
IntakeBindingManager = DirectCast(BindingContext(DS_SSCIntake1, "qmf_cint"),
CurrencyManager).


--
TS
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The correct syntax for returning a DataSet martinharvey via DotNetMonster.com Microsoft ASP .NET 2 25th Oct 2005 10:02 AM
Dataset restrict row syntax Earl Microsoft ADO .NET 5 22nd Nov 2004 09:42 PM
Dataset with binding syntax?? al Microsoft ADO .NET 2 13th Jan 2004 07:49 PM
Can some help me with the syntax, ADo.net C# dataset query khawar Microsoft ASP .NET 0 18th Jul 2003 03:21 PM
Re: Please help with dataset Select syntax Kathleen Dollard Microsoft ADO .NET 0 29th Jun 2003 04:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:03 AM.