Click here to Skip to main content
15,905,967 members
Home / Discussions / C#
   

C#

 
GeneralADO.NET in ASP.NET application Pin
seee sharp21-Aug-05 18:00
seee sharp21-Aug-05 18:00 
GeneralRe: ADO.NET in ASP.NET application Pin
Christian Graus21-Aug-05 18:02
protectorChristian Graus21-Aug-05 18:02 
GeneralRe: ADO.NET in ASP.NET application Pin
seee sharp21-Aug-05 19:00
seee sharp21-Aug-05 19:00 
GeneralRe: ADO.NET in ASP.NET application Pin
Christian Graus21-Aug-05 19:09
protectorChristian Graus21-Aug-05 19:09 
GeneralRe: ADO.NET in ASP.NET application Pin
User 167325222-Aug-05 2:40
User 167325222-Aug-05 2:40 
GeneralTrouble Updating Database from dataGrid Pin
sonicsqwirl21-Aug-05 17:48
sonicsqwirl21-Aug-05 17:48 
GeneralRe: Trouble Updating Database from dataGrid Pin
Christian Graus21-Aug-05 17:59
protectorChristian Graus21-Aug-05 17:59 
GeneralRe: Trouble Updating Database from dataGrid Pin
sonicsqwirl21-Aug-05 18:04
sonicsqwirl21-Aug-05 18:04 
yes we used it in school on an application that updates an Access database ex. Code:

string sSqlCmd = "UPDATE Parts SET Name = ?, Description = ?, Price = ? WHERE PartID = ?";<br />
<br />
updCmd.Parameters.Add(new OleDbParameter("@PartDescription", OleDbType.VarWChar, 100));<br />
updCmd.Parameters["@PartDescription"].Value = sPartDescription;<br />
updCmd.Parameters.Add(new OleDbParameter("@PartPrice", OleDbType.Currency));<br />
updCmd.Parameters["@PartPrice"].Value = sPrice;<br />
updCmd.Parameters.Add(new OleDbParameter("@PartID", OleDbType.Integer));<br />
updCmd.Parameters["@PartID"].Value = sPartID;<br />
<br />
updCon.Open();<br />
updCmd.ExecuteNonQuery();<br />
updCon.Close();


any ideas on how i can do this differently?
GeneralRe: Trouble Updating Database from dataGrid Pin
Christian Graus21-Aug-05 18:06
protectorChristian Graus21-Aug-05 18:06 
GeneralRe: Trouble Updating Database from dataGrid Pin
trevor_moody21-Aug-05 23:28
trevor_moody21-Aug-05 23:28 
GeneralRe: Trouble Updating Database from dataGrid Pin
Christian Graus22-Aug-05 11:39
protectorChristian Graus22-Aug-05 11:39 
GeneralOracle 8i and ODT Pin
Reanalyse21-Aug-05 17:47
Reanalyse21-Aug-05 17:47 
GeneralRe: Oracle 8i and ODT Pin
turbochimp22-Aug-05 2:48
turbochimp22-Aug-05 2:48 
Generalstuck on how to save file properties Pin
ekynox21-Aug-05 17:32
ekynox21-Aug-05 17:32 
QuestionPossible to load a form without displaying it? Pin
thrakazog21-Aug-05 14:15
thrakazog21-Aug-05 14:15 
GeneralRe: Events Pin
Christian Graus21-Aug-05 13:41
protectorChristian Graus21-Aug-05 13:41 
JokeRe: Events Pin
Michael P Butler22-Aug-05 12:25
Michael P Butler22-Aug-05 12:25 
GeneralRe: Events Pin
Christian Graus21-Aug-05 13:50
protectorChristian Graus21-Aug-05 13:50 
GeneralRe: Events Pin
noneformenoneforme22-Aug-05 12:29
noneformenoneforme22-Aug-05 12:29 
GeneralRe: Events Pin
Christian Graus22-Aug-05 12:35
protectorChristian Graus22-Aug-05 12:35 
GeneralRe: Events Pin
[Marc]22-Aug-05 17:58
[Marc]22-Aug-05 17:58 
GeneralRe: Events Pin
Christian Graus21-Aug-05 14:33
protectorChristian Graus21-Aug-05 14:33 
GeneralRe: Events Pin
Christian Graus22-Aug-05 18:22
protectorChristian Graus22-Aug-05 18:22 
GeneralRe: Events Pin
Christian Graus22-Aug-05 12:31
protectorChristian Graus22-Aug-05 12:31 
GeneralRe: Events Pin
Christian Graus22-Aug-05 12:37
protectorChristian Graus22-Aug-05 12:37 

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.