Click here to Skip to main content
15,909,445 members
Home / Discussions / Database
   

Database

 
GeneralRe: Shutdown and restart SQL Server programatically Pin
Xiangyang Liu 刘向阳14-Oct-04 15:04
Xiangyang Liu 刘向阳14-Oct-04 15:04 
GeneralNeed help do design the table for this requirement Pin
percyvimal2-Oct-04 6:44
percyvimal2-Oct-04 6:44 
GeneralRe: Need help do design the table for this requirement Pin
Colin Angus Mackay2-Oct-04 7:00
Colin Angus Mackay2-Oct-04 7:00 
GeneralRe: Need help do design the table for this requirement Pin
percyvimal2-Oct-04 7:14
percyvimal2-Oct-04 7:14 
GeneralRe: Need help do design the table for this requirement Pin
Colin Angus Mackay2-Oct-04 7:52
Colin Angus Mackay2-Oct-04 7:52 
GeneralRe: Need help do design the table for this requirement Pin
percyvimal2-Oct-04 8:25
percyvimal2-Oct-04 8:25 
GeneralRe: Need help do design the table for this requirement Pin
Colin Angus Mackay2-Oct-04 8:59
Colin Angus Mackay2-Oct-04 8:59 
QuestionMark DataTable column so changes do not affect RowState? Pin
DrGerry1-Oct-04 12:09
DrGerry1-Oct-04 12:09 
In a .NET application, I use a DataAdapter to fill a DataTable. I then add a Column to the DataTable. At certain points in the program, I loop through the DataTable and set the value for the newly added column for each DataRow. Although the information stored in this column is within the program only and is not stored in the actual database, setting the value causes the DataRow.RowState property to become DataRowState.Modified. Thus, when the DataAdapter Update method is called, all rows are treated as having been modified, when, in fact, the "real" data is unchanged.

Question:
Is it possible to mark a DataTable Column in some manner that data changes to this column do not cause the DataRow.RowState property to be changed?

One work-around it to note the DataRow.RowState property prior to changing the data in the specific column and to AcceptChanges if the DataRow had been DataRowState.Unchanged prior to the adding of the data in the specific column. (Pretty ugly...)

Thanks for your help!

----

Gerry Roston
Pair of Docs Consulting
www.pairofdocs.net

GeneralCheck for syntax Pin
macupryk30-Sep-04 21:16
macupryk30-Sep-04 21:16 
GeneralRe: Check for syntax Pin
Colin Angus Mackay1-Oct-04 1:24
Colin Angus Mackay1-Oct-04 1:24 
GeneralI need to Create a User Login and Registration Webform in Oracle and ODBC Pin
macupryk30-Sep-04 21:15
macupryk30-Sep-04 21:15 
QuestionCan we bind all these three to one connection Pin
macupryk30-Sep-04 21:14
macupryk30-Sep-04 21:14 
GeneralPassing a var to a SP.. Pin
Jacob Hammack30-Sep-04 15:32
Jacob Hammack30-Sep-04 15:32 
GeneralRe: Passing a var to a SP.. Pin
Christian Graus30-Sep-04 16:30
protectorChristian Graus30-Sep-04 16:30 
GeneralRe: Passing a var to a SP.. Pin
Jacob Hammack30-Sep-04 20:22
Jacob Hammack30-Sep-04 20:22 
GeneralRe: Passing a var to a SP.. Pin
Colin Angus Mackay1-Oct-04 0:26
Colin Angus Mackay1-Oct-04 0:26 
GeneralBeginner OLE question Pin
errenden30-Sep-04 10:01
errenden30-Sep-04 10:01 
GeneralRe: Beginner OLE question Pin
ThomasH13-Oct-04 12:58
ThomasH13-Oct-04 12:58 
GeneralRe: Beginner OLE question Pin
errenden4-Oct-04 5:23
errenden4-Oct-04 5:23 
GeneralRe: Beginner OLE question Pin
ThomasH14-Oct-04 13:04
ThomasH14-Oct-04 13:04 
GeneralRe: Beginner OLE question Pin
errenden5-Oct-04 3:59
errenden5-Oct-04 3:59 
GeneralTransaction SQL help (SQL Server 2000) Pin
Matt Newman30-Sep-04 6:31
Matt Newman30-Sep-04 6:31 
GeneralRe: Transaction SQL help (SQL Server 2000) Pin
Colin Angus Mackay30-Sep-04 7:19
Colin Angus Mackay30-Sep-04 7:19 
GeneralRe: Transaction SQL help (SQL Server 2000) Pin
Matt Newman30-Sep-04 7:27
Matt Newman30-Sep-04 7:27 
GeneralRe: Transaction SQL help (SQL Server 2000) Pin
Colin Angus Mackay30-Sep-04 9:51
Colin Angus Mackay30-Sep-04 9:51 

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.