Click here to Skip to main content
15,886,199 members
Home / Discussions / Database
   

Database

 
Questioninsert a nre record based on highest value in a field Pin
mmcsherr12-Oct-05 4:58
mmcsherr12-Oct-05 4:58 
AnswerRe: insert a nre record based on highest value in a field Pin
Colin Angus Mackay12-Oct-05 6:01
Colin Angus Mackay12-Oct-05 6:01 
GeneralRe: insert a nre record based on highest value in a field Pin
mmcsherr12-Oct-05 7:40
mmcsherr12-Oct-05 7:40 
GeneralRe: insert a nre record based on highest value in a field Pin
Colin Angus Mackay12-Oct-05 7:44
Colin Angus Mackay12-Oct-05 7:44 
GeneralRe: insert a nre record based on highest value in a field Pin
mmcsherr12-Oct-05 9:26
mmcsherr12-Oct-05 9:26 
Questiontrigger for insert Pin
Anonymous12-Oct-05 0:11
Anonymous12-Oct-05 0:11 
AnswerRe: trigger for insert Pin
Mike Dimmick14-Oct-05 5:22
Mike Dimmick14-Oct-05 5:22 
QuestionProblem pointing to new DataRow - Please Help Pin
Darktaz11-Oct-05 14:57
Darktaz11-Oct-05 14:57 
I have a dataset that has a table in it called say myTable.
There is a column in this table called field3

I have a textbox which displays the value of field3 using binding:

this.textbox1.DataBindings.Add("Text", myTable, "field3");

I have an event for when an Add button is pressed which Adds a new row to myTable:

DataRow newDR = myTable.NewRow();
newDR["field3"] = "Some Text";
myTable.Rows.Add(newDR);

The problem I have is that the texbox does not change to show the new value. It still shows the previous value.

So basically when I add a new row to the table I want to be able to point controls that have been binded to this new row. I've spent 2hrs trying to figure out how to do this and am at a loss Frown | :(

-- modified at 20:59 Tuesday 11th October, 2005
AnswerRe: Problem pointing to new DataRow - Please Help Pin
slwong8111-Oct-05 16:40
slwong8111-Oct-05 16:40 
QuestionValidate DateTime in storeproc Pin
miah alom11-Oct-05 12:14
miah alom11-Oct-05 12:14 
AnswerRe: Validate DateTime in storeproc Pin
-Dr_X-13-Oct-05 8:46
-Dr_X-13-Oct-05 8:46 
GeneralRe: Validate DateTime in storeproc Pin
miah alom13-Oct-05 8:48
miah alom13-Oct-05 8:48 
QuestionUpdate/Insert Dilema Pin
Vodstok11-Oct-05 3:01
Vodstok11-Oct-05 3:01 
AnswerRe: Update/Insert Dilema Pin
Michael Potter11-Oct-05 3:54
Michael Potter11-Oct-05 3:54 
GeneralRe: Update/Insert Dilema Pin
Vodstok11-Oct-05 9:15
Vodstok11-Oct-05 9:15 
QuestionOracle database Question.. Pin
Member 123981310-Oct-05 10:39
Member 123981310-Oct-05 10:39 
AnswerRe: Oracle database Question.. Pin
enjoycrack11-Oct-05 16:09
enjoycrack11-Oct-05 16:09 
QuestionSaving and retrieving pictures Pin
Erik Lund10-Oct-05 4:45
Erik Lund10-Oct-05 4:45 
QuestionDeploying MSDE Pin
steve_m_m10-Oct-05 0:27
steve_m_m10-Oct-05 0:27 
QuestionUn-natural sort order... Pin
ModuleKev10-Oct-05 0:20
ModuleKev10-Oct-05 0:20 
AnswerRe: Un-natural sort order... Pin
Colin Angus Mackay10-Oct-05 1:09
Colin Angus Mackay10-Oct-05 1:09 
GeneralRe: Un-natural sort order... Pin
Nic Rowan10-Oct-05 1:14
Nic Rowan10-Oct-05 1:14 
GeneralRe: Un-natural sort order... Pin
ModuleKev10-Oct-05 1:15
ModuleKev10-Oct-05 1:15 
AnswerRe: Un-natural sort order... Pin
Nic Rowan10-Oct-05 1:11
Nic Rowan10-Oct-05 1:11 
GeneralRe: Un-natural sort order... Pin
ModuleKev10-Oct-05 1:24
ModuleKev10-Oct-05 1:24 

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.