Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top