Solved

fill datagridview with table adapter query

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
A short film showing how OnPage and Connectwise integration works.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

937 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

1 Experts available now in Live!

Get 1:1 Help Now