Thanks for your help but still got an error : Syntax error: Missing operand before '=' operator. Btw how do you search for a value who is in a datagrid who is dynamic created. I mean how can you bind a dataset to the datagrid, and not the datagrid to the dataset. Thanks