Click here to Skip to main content
12,630,137 members (25,765 online)
   

LINQ

 
QuestionLINQ Query / "between" dates Pin
mebjen18-Nov-12 8:17
membermebjen18-Nov-12 8:17 
AnswerRe: LINQ Query / "between" dates Pin
Matt T Heffron18-Nov-12 13:52
memberMatt T Heffron18-Nov-12 13:52 
QuestionComma separeted text file Pin
marca29212-Nov-12 20:59
membermarca29212-Nov-12 20:59 
AnswerRe: Comma separeted text file Pin
savbace10-Jan-13 23:44
membersavbace10-Jan-13 23:44 
QuestionThe type of one of the expressions in the join clause is incorrect. Type inference failed in the call to GroupJoin Pin
dotnet9516-Oct-12 15:28
memberdotnet9516-Oct-12 15:28 
AnswerRe: The type of one of the expressions in the join clause is incorrect. Type inference failed in the call to GroupJoin Pin
Richard Deeming22-Oct-12 3:19
memberRichard Deeming22-Oct-12 3:19 
QuestionLINQ Pin
JabbarJahambana3-Oct-12 23:04
memberJabbarJahambana3-Oct-12 23:04 
AnswerRe: LINQ Pin
Pete O'Hanlon3-Oct-12 23:22
protectorPete O'Hanlon3-Oct-12 23:22 
AnswerRe: LINQ Pin
ProgramFOX5-Oct-12 6:33
memberProgramFOX5-Oct-12 6:33 
AnswerRe: LINQ Pin
emma926-Dec-12 7:23
memberemma926-Dec-12 7:23 
AnswerRe: LINQ Pin
tunheo24-Dec-12 23:17
membertunheo24-Dec-12 23:17 
GeneralMessage Automatically Removed Pin
12-Feb-13 21:09
memberMahesh Sellamuthu12-Feb-13 21:09 
Suggestionlinq to sql obtain foreign key value Pin
sc steinhayse24-Aug-12 20:40
membersc steinhayse24-Aug-12 20:40 
GeneralRe: linq to sql obtain foreign key value Pin
rs_engg5-Sep-12 4:43
memberrs_engg5-Sep-12 4:43 
Hi,

using (TransactionScope ts = new TransactionScope())
{
    InsertOnSubmit(tbl1);
    SubmitChanges();
    int val1= tbl1.PrimaryKey;
 
    InsertOnSubmit(tbl2);
    SubmitChanges();
    int val2= tbl1.foreignKey;
 
    if (strError == "")
     {
          SubmitChanges();
 
          ts.Complete();  // now both inserts are committed to the db
      }
 
}

Questionminus returned value during executing a insert stored procedure Pin
Member 870070423-Aug-12 6:37
memberMember 870070423-Aug-12 6:37 
AnswerRe: minus returned value during executing a insert stored procedure Pin
Wes Aday23-Aug-12 7:00
memberWes Aday23-Aug-12 7:00 
AnswerRe: minus returned value during executing a insert stored procedure Pin
BobJanova23-Aug-12 7:14
memberBobJanova23-Aug-12 7:14 
QuestionLINQ or ADO.NET ? Pin
pashmakjoon19-Aug-12 11:11
memberpashmakjoon19-Aug-12 11:11 
AnswerRe: LINQ or ADO.NET ? Pin
Richard MacCutchan20-Aug-12 0:03
mvpRichard MacCutchan20-Aug-12 0:03 
AnswerRe: LINQ or ADO.NET ? Pin
thatraja20-Aug-12 1:39
mvpthatraja20-Aug-12 1:39 
GeneralRe: LINQ or ADO.NET ? Pin
manijasmine20-Aug-12 9:07
membermanijasmine20-Aug-12 9:07 
AnswerRe: LINQ or ADO.NET ? Pin
Kolkata .NET8-Mar-13 6:45
memberKolkata .NET8-Mar-13 6:45 
Questionhow to load and save an xml document using linq Pin
owobs15-Aug-12 2:57
memberowobs15-Aug-12 2:57 
AnswerRe: how to load and save an xml document using linq Pin
Wayne Gaylard15-Aug-12 3:16
mentorWayne Gaylard15-Aug-12 3:16 
QuestionCreating a dynamic where clause Pin
Simon_Whale9-Aug-12 1:06
memberSimon_Whale9-Aug-12 1:06 
AnswerRe: Creating a dynamic where clause Pin
Pete O'Hanlon9-Aug-12 1:22
protectorPete O'Hanlon9-Aug-12 1:22 
GeneralRe: Creating a dynamic where clause Pin
Simon_Whale9-Aug-12 1:26
memberSimon_Whale9-Aug-12 1:26 
GeneralRe: Creating a dynamic where clause Pin
BobJanova9-Aug-12 3:11
memberBobJanova9-Aug-12 3:11 
GeneralRe: Creating a dynamic where clause Pin
Simon_Whale9-Aug-12 4:10
memberSimon_Whale9-Aug-12 4:10 
GeneralRe: Creating a dynamic where clause Pin
Pete O'Hanlon9-Aug-12 4:40
protectorPete O'Hanlon9-Aug-12 4:40 
GeneralRe: Creating a dynamic where clause Pin
Simon_Whale9-Aug-12 4:44
memberSimon_Whale9-Aug-12 4:44 
QuestionLinq where dates question Pin
Member 78188928-Jul-12 14:23
memberMember 78188928-Jul-12 14:23 
AnswerRe: Linq where dates question Pin
Pete O'Hanlon8-Jul-12 20:51
protectorPete O'Hanlon8-Jul-12 20:51 
AnswerRe: Linq where dates question Pin
BobJanova9-Jul-12 2:41
memberBobJanova9-Jul-12 2:41 
AnswerRe: Linq where dates question Pin
Matt T Heffron11-Jul-12 9:41
memberMatt T Heffron11-Jul-12 9:41 
AnswerRe: Linq where dates question Pin
Matt T Heffron27-Jul-12 15:35
memberMatt T Heffron27-Jul-12 15:35 
Questionlinq to sql connection string name Pin
rachel_m6-Jul-12 7:31
memberrachel_m6-Jul-12 7:31 
AnswerRe: linq to sql connection string name Pin
BobJanova9-Jul-12 2:42
memberBobJanova9-Jul-12 2:42 
QuestionConvert SQL to LINQ Pin
divesh123-Jul-12 10:47
memberdivesh123-Jul-12 10:47 
QuestionRe: Convert SQL to LINQ Pin
Naerling12-Jul-12 7:01
memberNaerling12-Jul-12 7:01 
AnswerRe: Convert SQL to LINQ Pin
thatraja20-Aug-12 1:32
mvpthatraja20-Aug-12 1:32 
AnswerRe: Convert SQL to LINQ Pin
Emmanuel Medina Lopez18-Sep-12 9:40
memberEmmanuel Medina Lopez18-Sep-12 9:40 
QuestionLinq to sql , one column is inserting NULL value , Pin
ooffooooo19-Jun-12 21:59
memberooffooooo19-Jun-12 21:59 
AnswerRe: Linq to sql , one column is inserting NULL value , Pin
Pete O'Hanlon20-Jun-12 0:55
protectorPete O'Hanlon20-Jun-12 0:55 
GeneralRe: Linq to sql , one column is inserting NULL value , Pin
abdul420-Jun-12 8:04
memberabdul420-Jun-12 8:04 
QuestionRuntime error Could not load file or assemly from Linq Entity constructor Pin
gmeiring17-Jun-12 10:13
membergmeiring17-Jun-12 10:13 
AnswerRe: Runtime error Could not load file or assemly from Linq Entity constructor Pin
Zac Greve12-Aug-12 18:59
memberZac Greve12-Aug-12 18:59 
Questionhow can write linq insert ,update,delete queries Pin
dipen mistry13-Jun-12 2:52
memberdipen mistry13-Jun-12 2:52 
AnswerRe: how can write linq insert ,update,delete queries Pin
Andy_L_J14-Jun-12 20:37
memberAndy_L_J14-Jun-12 20:37 
Questionlinq Pin
Sukanta201213-May-12 2:48
groupSukanta201213-May-12 2:48 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.161205.3 | Last Updated 5 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid