id int name varchar(50) mode char(10)
data in this table like 1 abc L 2 mnj C 3 oio F 4 trt L 5 lkl L 6 rer F
var q=(from a in obj.datas where a.id==1 select a.mode).single(); now i want to compare this value with "L" then how can i compare it
if(q=="L") { Response.write("This is for L"); }
q.Trim() == "L"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)