Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
705
How to update grid from dataset
posted

I have a complicated query with a bunch of different inputs.  I was wondering if its possible to have the grid update when the dataset gets changed. IE like how ive written it below.

 

public DataSet dsGrid = null;

public void FillGrid(int groupType, int groupedTrades, string xmlLayout)
{

            dsGrid = runQuery();

            if (ultraGridTradeTagger.DataSource == null)
                ultraGridTradeTagger.DataSource = dsGrid.Tables[0];

}