Click here to Skip to main content
15,900,724 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: MSSQL and C# ;( Pin
csrss24-Feb-11 14:20
csrss24-Feb-11 14:20 
AnswerRe: MSSQL and C# ;( Pin
Henry Minute24-Feb-11 14:37
Henry Minute24-Feb-11 14:37 
GeneralRe: MSSQL and C# ;( Pin
csrss24-Feb-11 15:45
csrss24-Feb-11 15:45 
QuestionListview sorting by group of items Pin
fady_sayegh24-Feb-11 4:43
fady_sayegh24-Feb-11 4:43 
AnswerRe: Listview sorting by group of items Pin
Luc Pattyn24-Feb-11 5:15
sitebuilderLuc Pattyn24-Feb-11 5:15 
GeneralRe: Listview sorting by group of items Pin
fady_sayegh24-Feb-11 5:29
fady_sayegh24-Feb-11 5:29 
GeneralRe: Listview sorting by group of items Pin
Luc Pattyn24-Feb-11 5:34
sitebuilderLuc Pattyn24-Feb-11 5:34 
JokeRe: Listview sorting by group of items Pin
Richard MacCutchan24-Feb-11 6:03
mveRichard MacCutchan24-Feb-11 6:03 
GeneralRe: Listview sorting by group of items Pin
Luc Pattyn24-Feb-11 6:44
sitebuilderLuc Pattyn24-Feb-11 6:44 
AnswerRe: Listview sorting by group of items Pin
Dalek Dave24-Feb-11 12:51
professionalDalek Dave24-Feb-11 12:51 
AnswerRe: Listview sorting by group of items Pin
RaviRanjanKr25-Feb-11 18:40
professionalRaviRanjanKr25-Feb-11 18:40 

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.