I have two different tables ( DataTable ) and need to use them in the same Gridview
. But when I call Gridview
on the screen it always assumes the value of the first table.
Does anyone know how to make a Gridview
that fits any query?
dt = info.RetornaInfo(x,y);
GdvInfo.DataSource = dt;
GdvInfo.DataBind();