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