fill datagridview with table adapter query



 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
ErnestoAsked:
Who is Participating?
 
John (Yiannis) ToutountzoglouConnect With a Mentor Instructor Multiengine PilotCommented:
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
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
did you drag your dataset into your form ....or youwant to programmtically add a datasource to a datagridview?
0
 
ErnestoAuthor Commented:
drag the dataset
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
so there is already a datasource in your datagridview...
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
did you try my posts?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.