Home

kakss@hotmail.comRun SQL With IN clause

Hi,

string sql = "SELECT * FROM pmsBankType WHERE batBankTypeId IN @p1";
object[] parameters = { 1, 2, 3 };
var data = this.ExecuteQueryDynamic(sql, parameters);
data.Dump();

I'm getting the error.

Comments

Sign In or Register to comment.