Sign up ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free.

I am using the SqlDataSource with sql query to provide the datasource for DataGrid. Using general query or stored procedure is fine. However, can I used the client-side variable, for example sessionStorage or javascript variable, in the query "where statement". When I using the SqlDataSource UI wizard, I found the "where statement" can use the data from control, cookie, form, profile and so on. However, most of them are in the server side / code behind. ( I try the client side cookie, in vain. )

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.