Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can`t set Focus to my Form .... ? Pin
faith4ever4u8-Oct-09 8:20
faith4ever4u8-Oct-09 8:20 
GeneralRe: Can`t set Focus to my Form .... ? Pin
Dave Kreskowiak9-Oct-09 12:23
mveDave Kreskowiak9-Oct-09 12:23 
Questionget files from directory Pin
hamid_m3-Oct-07 13:14
hamid_m3-Oct-07 13:14 
AnswerRe: get files from directory Pin
ChrisKo3-Oct-07 13:46
ChrisKo3-Oct-07 13:46 
GeneralRe: get files from directory Pin
Luc Pattyn3-Oct-07 15:40
sitebuilderLuc Pattyn3-Oct-07 15:40 
GeneralRe: get files from directory Pin
ChrisKo4-Oct-07 7:06
ChrisKo4-Oct-07 7:06 
AnswerRe: get files from directory Pin
balaji baskar3-Oct-07 14:00
balaji baskar3-Oct-07 14:00 
QuestionRetrieve a cells value before it was changed Pin
Glen Harvy3-Oct-07 12:43
Glen Harvy3-Oct-07 12:43 
Hi,

I have a table "Inventory" that has ID, ItemNumber, Description etc fields and the user can edit these via a datagrid.

The ItemNumber is also used in another table "SalesHistory".

What I want to do is update the ItemNumber in "SalesHistory" once the user has elected to do so before saving the ItemNumber change in the "Inventory" table to the database.

The problem I am having is determining the "old" value so I can update the "SalesHistory" table.

I don't want to call the database again to find the old value by matching ID's but it seems I have no alternative.

Suggestions please ...



Glen Harvy

AnswerRe: Retrieve a cells value before it was changed Pin
Anthony Mushrow3-Oct-07 12:52
professionalAnthony Mushrow3-Oct-07 12:52 
GeneralRe: Retrieve a cells value before it was changed Pin
Glen Harvy3-Oct-07 13:02
Glen Harvy3-Oct-07 13:02 
QuestionICON Pin
MasterSharp3-Oct-07 11:05
MasterSharp3-Oct-07 11:05 
AnswerRe: ICON Pin
pmarfleet3-Oct-07 11:17
pmarfleet3-Oct-07 11:17 
GeneralRe: ICON Pin
MasterSharp3-Oct-07 11:22
MasterSharp3-Oct-07 11:22 
GeneralRe: ICON Pin
pmarfleet3-Oct-07 11:31
pmarfleet3-Oct-07 11:31 
GeneralRe: ICON Pin
MasterSharp3-Oct-07 11:32
MasterSharp3-Oct-07 11:32 
GeneralRe: ICON Pin
Luc Pattyn3-Oct-07 11:32
sitebuilderLuc Pattyn3-Oct-07 11:32 
GeneralRe: ICON Pin
MasterSharp3-Oct-07 11:38
MasterSharp3-Oct-07 11:38 
GeneralRe: ICON Pin
Luc Pattyn3-Oct-07 11:44
sitebuilderLuc Pattyn3-Oct-07 11:44 
GeneralRe: ICON Pin
MasterSharp3-Oct-07 11:47
MasterSharp3-Oct-07 11:47 
GeneralRe: ICON Pin
MasterSharp3-Oct-07 11:54
MasterSharp3-Oct-07 11:54 
QuestionRe: ICON Pin
Kenny McKee3-Oct-07 11:57
Kenny McKee3-Oct-07 11:57 
AnswerRe: ICON Pin
MasterSharp3-Oct-07 11:59
MasterSharp3-Oct-07 11:59 
QuestionRe: ICON Pin
Kenny McKee3-Oct-07 12:02
Kenny McKee3-Oct-07 12:02 
AnswerRe: ICON Pin
MasterSharp3-Oct-07 12:03
MasterSharp3-Oct-07 12:03 
GeneralRe: ICON Pin
Kenny McKee3-Oct-07 12:11
Kenny McKee3-Oct-07 12: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.