Pergunta

I am using Visual Studio 2012 with SQL Server 2008 R2.

Is it possible to use SqlDatasource.InsertParameter with the where clause?

I would like to insert parameters into partial table where the id is equal to "x". How can I do it?

Foi útil?

Solução

I was able to do this. In the select statement I inner joined the two tables(using primary and secondary keys) and then used the where clause by passing the querystring parameter.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top