Hi Frndz,
Functionality: LINQ to SQL Varchar(1) Character Filter
To achieve this task,
In you db table there is filed is Varchar(1) or nVarchar(1)
When you drag and Drop you table into DBML file then this type convert to char
So there is two way to solved this problem
First Way
Change varchar(1) filed type char to string in DBML
Or
Second Way
Set p.GOODS.ToString()
var cnmtt = from p in db.CONSIGNMENTs
where p.GOODS.ToString() == "R M GOODS"
orderby p.CNMT descending
select p;
Hope this helpful!
Thanks