Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
AnswerRe: Transparent through the label Pin
Michael Bookatz15-Mar-09 23:41
Michael Bookatz15-Mar-09 23:41 
Questionhandle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole15-Mar-09 22:53
sonukadole15-Mar-09 22:53 
AnswerRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon15-Mar-09 23:11
mvePete O'Hanlon15-Mar-09 23:11 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole15-Mar-09 23:15
sonukadole15-Mar-09 23:15 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon15-Mar-09 23:26
mvePete O'Hanlon15-Mar-09 23:26 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
sonukadole16-Mar-09 0:09
sonukadole16-Mar-09 0:09 
GeneralRe: handle shorcut Ctrl+V event on AxWebBrowser Pin
Pete O'Hanlon16-Mar-09 2:47
mvePete O'Hanlon16-Mar-09 2:47 
QuestionPreserving row pointer across an database update via a datatable Pin
jrgrobinson15-Mar-09 22:29
jrgrobinson15-Mar-09 22:29 
I am doing an update to my database after adding a row to the data table. The TableAdapter uses the VS2005 generated INSERT command (the table has a lot of columns). The line is...

DishVarTA.Update(CurrentStDishVarRow);

where 'CurrentStDishVarRow' points to the row in the 'Added' state.

My problem is that I want to use the row data after this statement to format and send off to some machinery. After the Update however 'CurrentStDishVarRow' points to an entirely different row.

I think the INSERT statement in the TableAdapter is putting the new row in at the beginning of the table so the row indexing changes.

Is there any way I could preserve the pointer, or is the only way to fill the table again and/or find it again?

Done a lot of searching and haven't found much that covers this, does that mean preserving row pointers across updates is not 'de rigeur'?

Thanks,
AnswerRe: Preserving row pointer across an database update via a datatable Pin
Wael Dalloul15-Mar-09 23:19
Wael Dalloul15-Mar-09 23:19 
GeneralRe: Preserving row pointer across an database update via a datatable Pin
jrgrobinson16-Mar-09 0:23
jrgrobinson16-Mar-09 0:23 
GeneralRe: Preserving row pointer across an database update via a datatable Pin
Wael Dalloul16-Mar-09 0:56
Wael Dalloul16-Mar-09 0:56 
AnswerRe: Preserving row pointer across an database update via a datatable Pin
Mycroft Holmes15-Mar-09 23:25
professionalMycroft Holmes15-Mar-09 23:25 
GeneralRe: Preserving row pointer across an database update via a datatable Pin
jrgrobinson16-Mar-09 0:19
jrgrobinson16-Mar-09 0:19 
AnswerRe: Preserving row pointer across an database update via a datatable Pin
jrgrobinson16-Mar-09 1:44
jrgrobinson16-Mar-09 1:44 
QuestionHandling the state of a form Pin
saeidfarahi15-Mar-09 22:12
saeidfarahi15-Mar-09 22:12 
AnswerRe: Handling the state of a form Pin
Eddy Vluggen15-Mar-09 22:33
professionalEddy Vluggen15-Mar-09 22:33 
AnswerRe: Handling the state of a form Pin
Michael Bookatz16-Mar-09 0:38
Michael Bookatz16-Mar-09 0:38 
QuestionHow to create own spell checker window in c# or vb.net(windows) Pin
dilipmca0415-Mar-09 21:21
dilipmca0415-Mar-09 21:21 
AnswerRe: How to create own spell checker window in c# or vb.net(windows) Pin
Christian Graus15-Mar-09 22:07
protectorChristian Graus15-Mar-09 22:07 
AnswerRe: How to create own spell checker window in c# or vb.net(windows) Pin
Eddy Vluggen15-Mar-09 22:35
professionalEddy Vluggen15-Mar-09 22:35 
QuestionHow to add folder with files at runtime into solution explorer visual studio 2008 Pin
am 200915-Mar-09 21:15
am 200915-Mar-09 21:15 
QuestionAdding an AJAX enabled page to normal ASP.NET website Pin
maheshsahini15-Mar-09 21:12
maheshsahini15-Mar-09 21:12 
AnswerRe: Adding an AJAX enabled page to normal ASP.NET website Pin
Christian Graus15-Mar-09 22:08
protectorChristian Graus15-Mar-09 22:08 
QuestionInsert multiple data in a single excel row Pin
shantanusenin15-Mar-09 20:55
shantanusenin15-Mar-09 20:55 
AnswerRe: Insert multiple data in a single excel row Pin
Christian Graus15-Mar-09 22:09
protectorChristian Graus15-Mar-09 22:09 

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.