Solved

fill datagridview with table adapter query

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

808 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