Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
AnswerRe: Object reference not set to an instance of an object. Pin
PrimeCoder25-Feb-11 23:01
PrimeCoder25-Feb-11 23:01 
QuestionTracking some HTTP requests Pin
Anubhava Dimri24-Feb-11 20:25
Anubhava Dimri24-Feb-11 20:25 
AnswerRe: Tracking some HTTP requests Pin
Bernhard Hiller24-Feb-11 21:03
Bernhard Hiller24-Feb-11 21:03 
QuestionCreating A Demo Version in C# Pin
varun.g24-Feb-11 19:34
varun.g24-Feb-11 19:34 
AnswerRe: Creating A Demo Version in C# Pin
Groulien24-Feb-11 20:27
Groulien24-Feb-11 20:27 
AnswerRe: Creating A Demo Version in C# Pin
Pravin Patil, Mumbai25-Feb-11 0:01
Pravin Patil, Mumbai25-Feb-11 0:01 
AnswerRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 4:09
professionalEspen Harlinn25-Feb-11 4:09 
GeneralRe: Creating A Demo Version in C# Pin
fjdiewornncalwe25-Feb-11 4:57
professionalfjdiewornncalwe25-Feb-11 4:57 
GeneralRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 5:09
professionalEspen Harlinn25-Feb-11 5:09 
GeneralRe: Creating A Demo Version in C# Pin
varun.g25-Feb-11 18:36
varun.g25-Feb-11 18:36 
GeneralRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 23:21
professionalEspen Harlinn25-Feb-11 23:21 
GeneralRe: Creating A Demo Version in C# Pin
varun.g26-Feb-11 0:05
varun.g26-Feb-11 0:05 
QuestionImage Compression algorithm in c# Pin
Nidhu603224-Feb-11 18:26
Nidhu603224-Feb-11 18:26 
AnswerRe: Image Compression algorithm in c# [modified] Pin
SledgeHammer0124-Feb-11 18:53
SledgeHammer0124-Feb-11 18:53 
QuestionI want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 13:52
Nadia Monalisa24-Feb-11 13:52 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
PIEBALDconsult24-Feb-11 14:09
mvePIEBALDconsult24-Feb-11 14:09 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 14:56
Nadia Monalisa24-Feb-11 14:56 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
PIEBALDconsult25-Feb-11 1:47
mvePIEBALDconsult25-Feb-11 1:47 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
N a v a n e e t h24-Feb-11 16:51
N a v a n e e t h24-Feb-11 16:51 
You need some kind of mapper to map the data properly. After making the changes on the grid, get the currently available Person instances from grid's datasource and compare it against the list that you load from database. You will need some unique identifier on the Person type which can be used to find out the proper domain object. Given the two lists, you can do a diff and find out newly added, updated and deleted records.

Smile | :)
Best wishes,
Navaneeth

GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 17:16
Nadia Monalisa24-Feb-11 17:16 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
N a v a n e e t h24-Feb-11 17:22
N a v a n e e t h24-Feb-11 17:22 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 17:58
Nadia Monalisa24-Feb-11 17:58 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
_Maxxx_24-Feb-11 18:04
professional_Maxxx_24-Feb-11 18:04 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 18:13
Nadia Monalisa24-Feb-11 18:13 
QuestionMSSQL and C# ;( Pin
csrss24-Feb-11 13:11
csrss24-Feb-11 13:11 

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.