While updating it passes parameters with updatecommand from dataset

How can it be done in selectcommand

passing parameters from dataset ?