문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top