Click here to Skip to main content
15,919,479 members
Home / Discussions / Database
   

Database

 
GeneralRe: Image Column and File Group Pin
devvvy2-Aug-05 17:11
devvvy2-Aug-05 17:11 
GeneralDataSet Pin
Tiger4561-Aug-05 18:56
Tiger4561-Aug-05 18:56 
GeneralRe: DataSet Pin
Marc Soleda2-Aug-05 1:11
Marc Soleda2-Aug-05 1:11 
GeneralRe: DataSet Pin
toxcct3-Aug-05 5:19
toxcct3-Aug-05 5:19 
GeneralRe: DataSet Pin
Marc Soleda3-Aug-05 5:29
Marc Soleda3-Aug-05 5:29 
GeneralRe: DataSet Pin
Frank Kerrigan2-Aug-05 21:55
Frank Kerrigan2-Aug-05 21:55 
GeneralUPDATE cmd ASP.net Access 2k doesn't work Pin
xsoftdev21-Aug-05 9:17
xsoftdev21-Aug-05 9:17 
GeneralRe: UPDATE cmd ASP.net Access 2k doesn't work Pin
Frank Kerrigan3-Aug-05 1:21
Frank Kerrigan3-Aug-05 1:21 
It looks like your trying to mix Stored Procedure with SQL on the ADO.NET side.

Try this simpler code. It uses SQLconnection rather than OLE so you may have to slightly adjust your connection string.

Note: this has no try catch to simplify the code.

###########################################

string myType = "Type"; ' varchar on SQL Server
string myPropID = "12"; ' Int on SQL Server

string SQLstring = "UPDATE tblZtest SET PropertyType = '" + myType + "' " +
" WHERE zTest = " + myPropID

SqlConnection myConnection = new SqlConnection(ConnectionString);
myConnection.Open();
SqlCommand myCommand = new SqlCommand( SQLstring, myConnection );
myCommand.ExecuteNonQuery();
myConnection.Close();

##############################################
GeneralRe: UPDATE cmd ASP.net Access 2k doesn't work Pin
Rob Graham4-Aug-05 5:08
Rob Graham4-Aug-05 5:08 
GeneralSQL Audit trail Pin
Alomgir Miah1-Aug-05 9:09
Alomgir Miah1-Aug-05 9:09 
GeneralRe: SQL Audit trail Pin
Colin Angus Mackay2-Aug-05 4:15
Colin Angus Mackay2-Aug-05 4:15 
GeneralRe: SQL Audit trail Pin
Alomgir Miah2-Aug-05 7:36
Alomgir Miah2-Aug-05 7:36 
GeneralRe: SQL Audit trail Pin
Colin Angus Mackay2-Aug-05 8:01
Colin Angus Mackay2-Aug-05 8:01 
GeneralRe: SQL Audit trail Pin
Alomgir Miah2-Aug-05 8:22
Alomgir Miah2-Aug-05 8:22 
GeneralDataRow Class and Insert command Pin
dwark1061-Aug-05 7:21
dwark1061-Aug-05 7:21 
GeneralComparing times (hh:mm:ss) in SQL Server Pin
Member 21613301-Aug-05 2:04
Member 21613301-Aug-05 2:04 
GeneralRe: Comparing times (hh:mm:ss) in SQL Server Pin
WoutL1-Aug-05 2:36
WoutL1-Aug-05 2:36 
GeneralRe: Comparing times (hh:mm:ss) in SQL Server Pin
andyharman1-Aug-05 5:25
professionalandyharman1-Aug-05 5:25 
GeneralRe: Comparing times (hh:mm:ss) in SQL Server Pin
Frank Kerrigan2-Aug-05 6:11
Frank Kerrigan2-Aug-05 6:11 
GeneralDataRow vs Business object Pin
WDI31-Jul-05 22:21
WDI31-Jul-05 22:21 
GeneralRe: DataRow vs Business object Pin
Colin Angus Mackay1-Aug-05 23:50
Colin Angus Mackay1-Aug-05 23:50 
GeneralRe: DataRow vs Business object Pin
WDI2-Aug-05 4:09
WDI2-Aug-05 4:09 
GeneralRe: DataRow vs Business object Pin
Colin Angus Mackay2-Aug-05 4:12
Colin Angus Mackay2-Aug-05 4:12 
GeneralRe: DataRow vs Business object Pin
Mohamad Al Husseiny2-Aug-05 16:16
Mohamad Al Husseiny2-Aug-05 16:16 
GeneralCorresponding .cs file is not added when I add a Crytal Report file in Solution Explorer VS.Net2003 Pin
Member 123075730-Jul-05 23:53
Member 123075730-Jul-05 23:53 

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.