Solved

fill datagridview with table adapter query

Posted on 2010-08-30
5
1,489 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now