Thoughts from Dan Miser RSS 2.0
# Friday, May 26, 2006
Using LINQ, you can use variables for evaluation of the query. For example, the following query works just fine. It would also work if you used something like textBox1.Text instead of the variable s.


    string s = "Beverages";
    var results = from c in db.Categories
                  where c.CategoryName == s
                  select c.CategoryName;
Friday, May 26, 2006 8:18:00 AM (Central Daylight Time, UTC-05:00)  #    Comments [0] -
LINQ
Tracked by:
http://9ov-information.info/72850012/trance-radio-on-satellite-frequencys.html [Pingback]
http://9oh-information.info/75258931/moons-shower-curtain.html [Pingback]
http://9oo-information.info/06050956/index.html [Pingback]
http://9od-information.info/86246717/index.html [Pingback]
http://9qc-information.info/01711327/index.html [Pingback]
http://9ov-information.info/65603231/dvd-copy-wizard.html [Pingback]
http://9qs-information.info/50328779/index.html [Pingback]
http://9og-information.info/76656863/index.html [Pingback]
http://9qm-information.info/91672194/index.html [Pingback]
http://9rv-information.info/74537787/order-stick-game.html [Pingback]
http://9rr-information.info/83164843/plush-riding-horse.html [Pingback]
http://9sp-information.info/85167481/organizzazioni-regionali.html [Pingback]
http://9sc-information.info/49249542/miniatura-prima-pappa-giocattolo.html [Pingback]
http://9uafn-le-informazioni.info/45806635/aste-di-pittura.html [Pingback]
http://9uaft-le-informazioni.info/90143190/index.html [Pingback]
http://9uaff-le-informazioni.info/42252566/arcade-town-black-knight.html [Pingback]
http://9uafk-le-informazioni.info/13570432/password-recovery-italiano.html [Pingback]
http://9uafq-le-informazioni.info/28965987/index.html [Pingback]
http://9uaeg-le-informazioni.info/37556287/parole-di-vorrei-avere-il-becco.html [Pingback]
http://9uagb-le-informazioni.info/13063952/capodanno-2007-teatro-roma.html [Pingback]
http://9uagf-le-informazioni.info/54866499/index.html [Pingback]
http://9uahm-le-informazioni.info/16524349/index.html [Pingback]
http://9uagh-le-informazioni.info/52347926/index.html [Pingback]
http://9uahc-le-informazioni.info/92714514/index.html [Pingback]
http://9uagm-le-informazioni.info/00555519/index.html [Pingback]
http://9uahp-le-informazioni.info/86157826/index.html [Pingback]
http://9uage-le-informazioni.info/44998395/index.html [Pingback]
http://9uage-le-informazioni.info/13144141/index.html [Pingback]
Navigation
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Dan Miser
Sign In
Statistics
Total Posts: 375
This Year: 3
This Month: 0
This Week: 0
Comments: 654
Themes
Pick a theme:
All Content © 2012, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)