[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

dataAdapter.fill not working in vb.net

Asked by DebelloCaminus in Visual Studio

Tags: Vb.net, Visual Studio 2008

I created a new vb.net windows service project with a timer.  I created the SQL adapter and connection.  I was able to generate the dataset and am able to preview the data by right clicking the adapter without issue.

When my code gets to the following Me.SqlDataAdapter1.Fill(Me.DataSet11) the service stops with no error messages or the exception assistant popping up (which I think is a whole other issue in it self).

I try the same code from a button on a forms application and it works no problem.  Am even able to populate text boxes from the dataset.
[+][-]11/06/09 08:54 PM, ID: 25765045Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/07/09 12:08 AM, ID: 25765411Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/17/09 10:45 AM, ID: 25842739Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625