Click here to Skip to main content
15,910,130 members
Home / Discussions / C#
   

C#

 
AnswerRe: IEnumerable OrderBy on a text field Pin
Wayne Gaylard5-Jan-12 23:18
professionalWayne Gaylard5-Jan-12 23:18 
AnswerRe: IEnumerable OrderBy on a text field Pin
manognya kota5-Jan-12 23:22
manognya kota5-Jan-12 23:22 
GeneralRe: IEnumerable OrderBy on a text field Pin
__John_5-Jan-12 23:46
__John_5-Jan-12 23:46 
Hi, thanks for looking at this.

Not sure what I am doing wrong.
I tried...
XML
DataContext = new DataClasses1DataContext();

var people = from name in DataContext.Table_Peoples
             where name.IQ < 3
             select name;

var peopleOrdered = people.OrderBy(name => name.Name).ToList();


'Name' is decared as follows...

C#
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="Text", UpdateCheck=UpdateCheck.Never)]
        public string Name
        {
            get
            {
                return this._Name;
            }
            set
            {
                if ((this._Name != value))
                {
                    this._Name = value;
                }
            }
        }


It is still thowing the same exception.
GeneralRe: IEnumerable OrderBy on a text field Pin
__John_5-Jan-12 23:55
__John_5-Jan-12 23:55 
GeneralRe: IEnumerable OrderBy on a text field Pin
manognya kota6-Jan-12 0:36
manognya kota6-Jan-12 0:36 
GeneralRe: IEnumerable OrderBy on a text field Pin
__John_6-Jan-12 0:44
__John_6-Jan-12 0:44 
GeneralRe: IEnumerable OrderBy on a text field Pin
manognya kota6-Jan-12 0:58
manognya kota6-Jan-12 0:58 
GeneralRe: IEnumerable OrderBy on a text field Pin
manognya kota6-Jan-12 1:23
manognya kota6-Jan-12 1:23 
GeneralRe: IEnumerable OrderBy on a text field Pin
__John_6-Jan-12 1:59
__John_6-Jan-12 1:59 
GeneralRe: IEnumerable OrderBy on a text field Pin
manognya kota6-Jan-12 2:12
manognya kota6-Jan-12 2:12 
GeneralRe: IEnumerable OrderBy on a text field Pin
Vincent Blais6-Jan-12 2:35
professionalVincent Blais6-Jan-12 2:35 
GeneralRe: IEnumerable OrderBy on a text field Pin
__John_6-Jan-12 2:47
__John_6-Jan-12 2:47 
GeneralRe: IEnumerable OrderBy on a text field Pin
__John_6-Jan-12 3:12
__John_6-Jan-12 3:12 
GeneralRe: IEnumerable OrderBy on a text field Pin
Vincent Blais6-Jan-12 4:00
professionalVincent Blais6-Jan-12 4:00 
GeneralRe: IEnumerable OrderBy on a text field Pin
__John_6-Jan-12 4:12
__John_6-Jan-12 4:12 
GeneralRe: IEnumerable OrderBy on a text field Pin
Wayne Gaylard6-Jan-12 20:55
professionalWayne Gaylard6-Jan-12 20:55 
GeneralRe: IEnumerable OrderBy on a text field Pin
manognya kota9-Jan-12 22:00
manognya kota9-Jan-12 22:00 
QuestionWhat is the memory limitation of C# Application Pin
NavpreetSingh5-Jan-12 19:44
NavpreetSingh5-Jan-12 19:44 
AnswerMessage Closed Pin
5-Jan-12 21:21
leddoes5-Jan-12 21:21 
GeneralRe: What is the memory limitation of C# Application Pin
RobCroll6-Jan-12 0:19
RobCroll6-Jan-12 0:19 
AnswerRe: What is the memory limitation of C# Application Pin
OriginalGriff5-Jan-12 21:44
mveOriginalGriff5-Jan-12 21:44 
GeneralRe: What is the memory limitation of C# Application Pin
RedDk29-Sep-23 6:52
RedDk29-Sep-23 6:52 
GeneralRe: What is the memory limitation of C# Application Pin
OriginalGriff29-Sep-23 8:09
mveOriginalGriff29-Sep-23 8:09 
GeneralRe: What is the memory limitation of C# Application Pin
RedDk29-Sep-23 9:01
RedDk29-Sep-23 9:01 
AnswerRe: What is the memory limitation of C# Application Pin
Luc Pattyn6-Jan-12 2:10
sitebuilderLuc Pattyn6-Jan-12 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.