Prev: nesting gridviews programmatically
Next: display 3 columns of 50 rows in stead of 1 column per row in Gridview/Repeater/Listview/Datalist
From: Andy O'Neill on 19 Mar 2010 10:33 "gerryR" <gerryr(a)SPMANOgerryr.com> wrote in message news:OQGzDJrxKHA.3408(a)TK2MSFTNGP06.phx.gbl... <<>> > Or am I still better to use parameters > > SELECT * FROM [range] Where Province=(a)province > Always use parameters or linq - which uses parameters in the sql it generates.
From: gerryR on 19 Mar 2010 12:02
Thanks Andy "Andy O'Neill" <aon14nocannedmeat(a)lycos.co.uk> wrote in message news:TWLon.24163$z65.19145(a)newsfe08.ams2... > > "gerryR" <gerryr(a)SPMANOgerryr.com> wrote in message > news:OQGzDJrxKHA.3408(a)TK2MSFTNGP06.phx.gbl... > <<>> >> Or am I still better to use parameters >> >> SELECT * FROM [range] Where Province=(a)province >> > Always use parameters or linq - which uses parameters in the sql it > generates. |