Skip to content

LinqToSql OrderBy has no Effect

I am using a LinqToSql-DataSource for a GridView in this way: Now i want to order the Selection. At first the “stammVerein”-Column of Table “mitgliedschaft” descending AND the Column “eintritt” of Table “mitgliedschaft”. I have tried several ways: AND: AND: But …

Datetime fetch incorrect data for second iteration

I have this query : Declare @t table ( StartDate datetime , ENDDate datetime) Insert into @t values (‘2020-02-05 15:00:00.000′,’2020-02-05 15:30:00.000’) Insert into @t values (‘2020-02-05 15:10:00….