Solved

fill datagridview with table adapter query

Posted on 2010-08-30
5
1,526 Views
Last Modified: 2012-05-10


 Me.RamalesTableAdapter.Fillpro(Me.Datamat.ramales, proyecto, sptempo)

hi
how do i be able to link my table adapter with my datagridview?

thank you a lot
0
Comment
Question by:edo60
  • 4
5 Comments
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33563140
did you drag your dataset into your form ....or youwant to programmtically add a datasource to a datagridview?
0
 

Author Comment

by:edo60
ID: 33563776
drag the dataset
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33564391
so there is already a datasource in your datagridview...
0
 
LVL 18

Accepted Solution

by:
John (Yiannis) Toutountzoglou earned 500 total points
ID: 33565538
Your datagridview has already a datasource...
Me.RamalesTableAdapter.Fillpro(Me.Datamat.ramales, proyecto, sptempo) means that your tableadapter waits 2 parameters...
proyecto and sptempo...so you have to put some values in these parameters....
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33710813
did you try my posts?
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question