Can I run multiple queries with ado.net compact framework using sqlce?

  • Thread starter Thread starter Faraz Rasheed
  • Start date Start date
F

Faraz Rasheed

Can I run multiple queries separated by semicolon (;) with ado.net compact
framework uisng windows ce?
I have tried to use it by setting IDbCommand.CommandType = CommandType.Text
and without it. but couldnot get my code work

I am using quriy like

Update settings set value = '1' where name = 'one'; update settings set
value = '2' where name = 'two';

Can anyone suggest a solution?

Regards,
Faraz Rasheed
 
I am using SQLCE database with Dot Net's SqlClient namespace

Regards,
Faraz Rasheed
 
Back
Top