I want to set the restriction during runtime for my queries in DatagridView. can anyone help me.