I want to pass variable from the code behind to the SelectCommand of a SqlDataSource?
I don\'t want to use built-in parameter types (like ControlParameter, QueryStri
You need to define a valid type of SelectParameter. This MSDN article describes the various types and how to use them.