Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: Excel Chart in C# Pin
Danzy8319-Jun-12 9:04
Danzy8319-Jun-12 9:04 
AnswerRe: Excel Chart in C# Pin
Eddy Vluggen19-Jun-12 9:19
professionalEddy Vluggen19-Jun-12 9:19 
GeneralRe: Excel Chart in C# Pin
Danzy8319-Jun-12 9:30
Danzy8319-Jun-12 9:30 
GeneralRe: Excel Chart in C# Pin
Eddy Vluggen19-Jun-12 10:00
professionalEddy Vluggen19-Jun-12 10:00 
GeneralRe: Excel Chart in C# Pin
Dave Kreskowiak19-Jun-12 11:06
mveDave Kreskowiak19-Jun-12 11:06 
AnswerRe: Excel Chart in C# Pin
Luc Pattyn19-Jun-12 11:21
sitebuilderLuc Pattyn19-Jun-12 11:21 
AnswerRe: Excel Chart in C# Pin
Cracked-Down19-Jun-12 19:53
Cracked-Down19-Jun-12 19:53 
Questionlinq for C# 2010 Pin
sc steinhayse19-Jun-12 8:12
sc steinhayse19-Jun-12 8:12 
I need to write some linq to sql statments for sql server 2008 r2 database that accomplishes the following tasks in a C# 2010 .net application:

1. I need to delete one row from a table where the record I would be deleting is the key to the table called main.

2. I also need to delete records from an associated table (called sub) that has the key to the main table as one of its columns. This table called sub has no foreign key constraints setup as a requirement to the table called main. In the table called sub there can be from 1 to 500 occurences of the reference to the table called main.

3. I am not certain how to setup these two deletes? Would this be separate linqs statements? would I need two separate DeleteOnSubmit statements? Would I wrap the two delete statements into one transaction so that if there is a problem, I can rollback the changes?

Can you tell me and/or point me to a reference on how to complete this task?
QuestionGrab a screenshot and send it via http Pin
mupersan19-Jun-12 7:33
mupersan19-Jun-12 7:33 
AnswerRe: Grab a screenshot and send it via http Pin
Pete O'Hanlon19-Jun-12 7:44
mvePete O'Hanlon19-Jun-12 7:44 
AnswerRe: Grab a screenshot and send it via http Pin
Luc Pattyn19-Jun-12 8:04
sitebuilderLuc Pattyn19-Jun-12 8:04 
AnswerRe: Grab a screenshot and send it via http Pin
Eddy Vluggen19-Jun-12 8:58
professionalEddy Vluggen19-Jun-12 8:58 
GeneralRe: Grab a screenshot and send it via http Pin
Luc Pattyn19-Jun-12 9:06
sitebuilderLuc Pattyn19-Jun-12 9:06 
QuestionC# How do I know if a row is locked in the database. Pin
UBX19-Jun-12 4:59
UBX19-Jun-12 4:59 
AnswerRe: C# How do I know if a row is locked in the database. Pin
Dave Kreskowiak19-Jun-12 5:14
mveDave Kreskowiak19-Jun-12 5:14 
GeneralRe: C# How do I know if a row is locked in the database. Pin
UBX19-Jun-12 5:19
UBX19-Jun-12 5:19 
AnswerRe: C# How do I know if a row is locked in the database. Pin
PIEBALDconsult19-Jun-12 5:18
mvePIEBALDconsult19-Jun-12 5:18 
QuestionLogging all mouse clicks in an application Pin
Dewald19-Jun-12 2:54
Dewald19-Jun-12 2:54 
AnswerRe: Logging all mouse clicks in an application Pin
Eddy Vluggen19-Jun-12 3:19
professionalEddy Vluggen19-Jun-12 3:19 
GeneralRe: Logging all mouse clicks in an application Pin
Dewald19-Jun-12 3:31
Dewald19-Jun-12 3:31 
GeneralRe: Logging all mouse clicks in an application Pin
Eddy Vluggen19-Jun-12 8:44
professionalEddy Vluggen19-Jun-12 8:44 
GeneralRe: Logging all mouse clicks in an application Pin
BobJanova20-Jun-12 3:16
BobJanova20-Jun-12 3:16 
GeneralRe: Logging all mouse clicks in an application Pin
Eddy Vluggen20-Jun-12 3:23
professionalEddy Vluggen20-Jun-12 3:23 
QuestionRdlc report Pin
sonumanwal18-Jun-12 20:40
sonumanwal18-Jun-12 20:40 
Questionhow to get current application windows title? Pin
a.fatemeh18-Jun-12 11:08
a.fatemeh18-Jun-12 11:08 

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.