"Command and Parameter Editor" How to use the parameters?

I need help adding parameters into the Command and Parameter Editor dialog box.

This is what Im trying to accomplish:

-I have a sqlDataSource
-clicked in the SelectQuery Properties
-in the Comand and Parameter Editor
-I typed a select statement

if I substitute a value for one of my parameters below in the parameters sections.

It returns an error, even if I the default value works fine when I explicitely type it in the query box.

It seems I don't know how to apply the parameters added in the dialog in the query textbox.

The @ and [] dont work when I make the query test.

I look at the MSDN documentation and I can't find help anywhere on the web.

Help,


Answer this question

"Command and Parameter Editor" How to use the parameters?