Click here to Skip to main content
15,906,567 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Need for a rich Text Editor .... Pin
Vasudevan Deepak Kumar2-May-08 0:44
Vasudevan Deepak Kumar2-May-08 0:44 
AnswerRe: Need for a rich Text Editor .... Pin
Reelix6-May-08 22:53
Reelix6-May-08 22:53 
QuestionChange Directory type info Pin
coleydog1-May-08 13:12
coleydog1-May-08 13:12 
QuestionStrange Behavior with Generics Pin
girijaa30-Apr-08 6:09
professionalgirijaa30-Apr-08 6:09 
AnswerRe: Strange Behavior with Generics Pin
Urs Enzler1-May-08 10:12
Urs Enzler1-May-08 10:12 
QuestionUnsafe Assembly Permissions Pin
Brady Kelly30-Apr-08 5:15
Brady Kelly30-Apr-08 5:15 
QuestionDataTable.Select() Pin
alex.almeida30-Apr-08 3:24
alex.almeida30-Apr-08 3:24 
QuestionTableDataAdapter.Update to two mirror databases... [modified] Pin
sabr4930-Apr-08 2:07
sabr4930-Apr-08 2:07 
We have a website set up on our local computer for testing purposes and we then roll out the changes to our main server which is remotely accessed. I want to keep the two databases in sync by calling the dataadapter.update method twice passing in the same datatables (I happen to be using a typed dataset) and just changing the connection string for the remote database (I first wipe each database before the update). However, when I try to do this, after the local site database properly updates and I then call the update method again with a new connection string, the update does not work (it doesn't error, it just isn't working properly) and returns an integer value of 0 telling me that no new rows were updated (if I check the database I see nothing was written in.) I am trying to figure out what the issue is. I am guessing it has something do with the row.rowstate on the rows in the datatable telling the update method that these rows have already been written to the database, but if that is the case, is there any easy way to reset the rows so that update can be called again (I tried fooling with the row.setrowmodified but it didn't work and it gave me a concurrency exception)? For now, the workaround I am using is it to create a new dataset before any update is called, go through every row in the first dataset and write them to each table in the new dataset, and then call the update method passing in the tables of the new dataset. This does work, however it slows the program down considerably when building the new dataset. Anyone have any other ideas or suggestions?

modified on Wednesday, April 30, 2008 9:24 AM

QuestionForce TextBox to show cursor Pin
Christian Wikander29-Apr-08 23:00
Christian Wikander29-Apr-08 23:00 
AnswerRe: Force TextBox to show cursor Pin
Arjun Marwaha30-Apr-08 7:44
Arjun Marwaha30-Apr-08 7:44 
QuestionSelect Statement Pin
Learning29-Apr-08 5:18
Learning29-Apr-08 5:18 
GeneralRe: Select Statement Pin
Mark J. Miller29-Apr-08 7:49
Mark J. Miller29-Apr-08 7:49 
GeneralRe: Select Statement Pin
Learning30-Apr-08 4:42
Learning30-Apr-08 4:42 
Questionunable to find a version of the runtime to run this application Pin
Muhammad Gouda28-Apr-08 22:28
Muhammad Gouda28-Apr-08 22:28 
AnswerRe: unable to find a version of the runtime to run this application Pin
Zoltan Balazs29-Apr-08 6:54
Zoltan Balazs29-Apr-08 6:54 
AnswerRe: unable to find a version of the runtime to run this application Pin
Muhammad Gouda30-Apr-08 1:41
Muhammad Gouda30-Apr-08 1:41 
GeneralDatagrid Pin
sabr4928-Apr-08 15:02
sabr4928-Apr-08 15:02 
GeneralApplication running slow Pin
Bad Programmer28-Apr-08 11:12
Bad Programmer28-Apr-08 11:12 
GeneralCross Post. Please ignore. Pin
Pete O'Hanlon29-Apr-08 1:29
mvePete O'Hanlon29-Apr-08 1:29 
QuestionStymied by interop Pin
Mark Schumann28-Apr-08 9:27
Mark Schumann28-Apr-08 9:27 
AnswerRe: Stymied by interop Pin
led mike28-Apr-08 9:30
led mike28-Apr-08 9:30 
QuestionRe: Stymied by interop Pin
Mark Schumann1-May-08 8:56
Mark Schumann1-May-08 8:56 
GeneralMake a CAB file for PocketPc2003 Pin
AlexB4728-Apr-08 4:02
AlexB4728-Apr-08 4:02 
GeneralCross Post. Please ignore Pin
Pete O'Hanlon28-Apr-08 21:59
mvePete O'Hanlon28-Apr-08 21:59 
GeneralApplication.Run() Parameters Pin
saneng28-Apr-08 3:08
saneng28-Apr-08 3:08 

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.