Click here to Skip to main content
15,895,779 members
Home / Discussions / C#
   

C#

 
GeneralRe: OOPS Case Study Pin
Richard MacCutchan4-Jun-12 22:28
mveRichard MacCutchan4-Jun-12 22:28 
GeneralRe: OOPS Case Study Pin
egenis5-Jun-12 21:09
egenis5-Jun-12 21:09 
AnswerRe: OOPS Case Study Pin
Richard MacCutchan4-Jun-12 22:31
mveRichard MacCutchan4-Jun-12 22:31 
QuestionSystem.Net.Sockets IPEndPoint Problem Pin
Midnight Ahri4-Jun-12 0:06
Midnight Ahri4-Jun-12 0:06 
AnswerRe: System.Net.Sockets IPEndPoint Problem Pin
Richard MacCutchan4-Jun-12 1:05
mveRichard MacCutchan4-Jun-12 1:05 
AnswerRe: System.Net.Sockets IPEndPoint Problem Pin
Luc Pattyn4-Jun-12 4:14
sitebuilderLuc Pattyn4-Jun-12 4:14 
QuestionSaving data to SQL from dynamically made comboboxes... Pin
Vidor3-Jun-12 22:27
professionalVidor3-Jun-12 22:27 
AnswerRe: Saving data to SQL from dynamically made comboboxes... Pin
AmitGajjar4-Jun-12 2:06
professionalAmitGajjar4-Jun-12 2:06 
Hi,

what i understand is, you have some list of items to display and then after update that items it should be back to the database. correct ?

so what i suggest is, at the time of updating data. Do not use update query. instead remove all those records and insert it again(using single transaction). because you do not have idea about which data is modified.

Or the other solution is, you need to maintain index of the data you get from database. and then match the string value and update only if it modified. but this way leads to so many questions.

let me know above idea works for you,

thanks
-Amit.
GeneralRe: Saving data to SQL from dynamically made comboboxes... Pin
Vidor4-Jun-12 5:00
professionalVidor4-Jun-12 5:00 
GeneralRe: Saving data to SQL from dynamically made comboboxes... Pin
AmitGajjar4-Jun-12 17:55
professionalAmitGajjar4-Jun-12 17:55 
SuggestionRe: Saving data to SQL from dynamically made comboboxes... Pin
Paul Conrad4-Jun-12 17:07
professionalPaul Conrad4-Jun-12 17:07 
Questiondatabinding in the constuctor not working properly Pin
matleeds3-Jun-12 22:02
matleeds3-Jun-12 22:02 
AnswerRe: databinding in the constuctor not working properly Pin
matleeds3-Jun-12 22:57
matleeds3-Jun-12 22:57 
GeneralRe: databinding in the constuctor not working properly Pin
Luc Pattyn4-Jun-12 4:18
sitebuilderLuc Pattyn4-Jun-12 4:18 
AnswerRe: databinding in the constuctor not working properly Pin
mallikharjuna2214-Jun-12 21:20
mallikharjuna2214-Jun-12 21:20 
QuestionC# 2010 edit Pin
dcof3-Jun-12 18:08
dcof3-Jun-12 18:08 
AnswerRe: C# 2010 edit Pin
Richard MacCutchan3-Jun-12 22:09
mveRichard MacCutchan3-Jun-12 22:09 
AnswerRe: C# 2010 edit Pin
Eddy Vluggen4-Jun-12 3:30
professionalEddy Vluggen4-Jun-12 3:30 
Questionc# DataGridView EditMode and DeleteKey Pin
blissMaster3-Jun-12 15:25
blissMaster3-Jun-12 15:25 
AnswerRe: c# DataGridView EditMode and DeleteKey Pin
Abhinav S3-Jun-12 17:16
Abhinav S3-Jun-12 17:16 
Questionconvert part of a list to an array Pin
a.fatemeh3-Jun-12 7:18
a.fatemeh3-Jun-12 7:18 
AnswerRe: convert part of a list to an array Pin
Dave Kreskowiak3-Jun-12 7:30
mveDave Kreskowiak3-Jun-12 7:30 
GeneralRe: convert part of a list to an array Pin
VJ Reddy3-Jun-12 7:56
VJ Reddy3-Jun-12 7:56 
GeneralRe: convert part of a list to an array Pin
Luc Pattyn3-Jun-12 8:59
sitebuilderLuc Pattyn3-Jun-12 8:59 
GeneralRe: convert part of a list to an array Pin
VJ Reddy3-Jun-12 14:05
VJ Reddy3-Jun-12 14:05 

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.