vb.net - Fill two datagridviews from one tableadapter -


is possible fill 2 datagridview (named datagridview1 & datagridview2) 1 dataset < 1 tableadapter < 2 different queries

from query 1 = dgv1 need fill datagridview1 query 2 - dgv2 need fill datagridview2 

enter image description here

is possible? of course, that's glory of bound datasets. set 2 queries using dataset designer (.xsd) right-clicking on tableadapter-->add query --> etc.

with 2 datagridviews, need 2 instances of same tableadapter (you can drag , drop toolbox). call fillby method (or whatever named them) each query, connecting dgv data source correct tableadapter (i add numerical suffix simplicity).


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -