Click here to Skip to main content
15,899,641 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 4:16
Member 297299215-Jul-11 4:16 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut18-Jul-11 2:45
professionalGuyThiebaut18-Jul-11 2:45 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
PIEBALDconsult15-Jul-11 3:21
mvePIEBALDconsult15-Jul-11 3:21 
QuestionProblem with messagequeue Pin
prasadbuddhika15-Jul-11 1:19
prasadbuddhika15-Jul-11 1:19 
QuestionGetting Rows That Was Changed Pin
AmbiguousName15-Jul-11 1:00
AmbiguousName15-Jul-11 1:00 
QuestionRe: Getting Rows That Was Changed Pin
DaveAuld15-Jul-11 1:16
professionalDaveAuld15-Jul-11 1:16 
AnswerRe: Getting Rows That Was Changed [modified] Pin
AmbiguousName15-Jul-11 1:29
AmbiguousName15-Jul-11 1:29 
GeneralRe: Getting Rows That Was Changed [modified] Pin
DaveAuld15-Jul-11 1:41
professionalDaveAuld15-Jul-11 1:41 
Ok, Lets assume that it is a current recordset that you hold;

First determine if there are changes: http://msdn.microsoft.com/en-us/library/czb9z269(v=VS.100).aspx[^]

Then, determine which rows have changed;
http://msdn.microsoft.com/en-us/library/thc1eetk.aspx[^]

The problem lies if you have committed the changes into the database for the current dataset, in which case these methods wont help, and you will probably need to rely on some custom change tracker based on timestamps.

Edit: How To: Custom Change Tracker[^]
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject
modified on Friday, July 15, 2011 7:56 AM

GeneralRe: Getting Rows That Was Changed Pin
GuyThiebaut15-Jul-11 2:07
professionalGuyThiebaut15-Jul-11 2:07 
QuestionOnly show decimals if there are any Pin
Etienne_12314-Jul-11 22:09
Etienne_12314-Jul-11 22:09 
AnswerRe: Only show decimals if there are any Pin
Etienne_12314-Jul-11 22:24
Etienne_12314-Jul-11 22:24 
GeneralRe: Only show decimals if there are any Pin
Shameel15-Jul-11 2:00
professionalShameel15-Jul-11 2:00 
AnswerRe: Only show decimals if there are any Pin
Wayne Gaylard14-Jul-11 22:32
professionalWayne Gaylard14-Jul-11 22:32 
SuggestionRe: Only show decimals if there are any PinPopular
GuyThiebaut14-Jul-11 22:55
professionalGuyThiebaut14-Jul-11 22:55 
GeneralRe: Only show decimals if there are any Pin
Wayne Gaylard14-Jul-11 23:23
professionalWayne Gaylard14-Jul-11 23:23 
GeneralRe: Only show decimals if there are any Pin
Blue_Boy14-Jul-11 23:50
Blue_Boy14-Jul-11 23:50 
GeneralRe: Only show decimals if there are any Pin
Etienne_12315-Jul-11 2:56
Etienne_12315-Jul-11 2:56 
AnswerRe: Only show decimals if there are any Pin
PIEBALDconsult15-Jul-11 2:55
mvePIEBALDconsult15-Jul-11 2:55 
AnswerRe: Only show decimals if there are any Pin
DaveyM6917-Jul-11 5:52
professionalDaveyM6917-Jul-11 5:52 
Questionchemsketch Pin
albertodiprima14-Jul-11 1:55
albertodiprima14-Jul-11 1:55 
AnswerRe: chemsketch PinPopular
Richard MacCutchan14-Jul-11 1:56
mveRichard MacCutchan14-Jul-11 1:56 
GeneralRe: chemsketch Pin
albertodiprima14-Jul-11 2:08
albertodiprima14-Jul-11 2:08 
GeneralRe: chemsketch Pin
Keith Barrow14-Jul-11 3:06
professionalKeith Barrow14-Jul-11 3:06 
GeneralRe: chemsketch Pin
Richard MacCutchan14-Jul-11 4:23
mveRichard MacCutchan14-Jul-11 4:23 
GeneralRe: chemsketch Pin
BobJanova14-Jul-11 4:27
BobJanova14-Jul-11 4:27 

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.