where (array ids)
i have webservice upheld an array ints.
i'd name matter follows nonetheless keep removing errors. i need change array string?
[webmethod]
public minievent[] getadminevents(int buildingid, datetime startdate)
{
command.commandtext = @"select id,
startdatetime, enddatetime from
tb_bookings where buildingid in
(@buildingids) startdatetime <=
@fromdate";
sqlparameter buildid = new sqlparameter("@buildingids", buildingids);
}
Comments
Post a Comment