Click here to Skip to main content
15,900,572 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using reflection to get the instance name of a variable Pin
Andrew Rissing8-Dec-06 8:35
Andrew Rissing8-Dec-06 8:35 
GeneralRe: Using reflection to get the instance name of a variable Pin
EddieRich8-Dec-06 8:40
EddieRich8-Dec-06 8:40 
GeneralRe: Using reflection to get the instance name of a variable Pin
Not Active8-Dec-06 8:57
mentorNot Active8-Dec-06 8:57 
GeneralRe: Using reflection to get the instance name of a variable Pin
EddieRich8-Dec-06 9:02
EddieRich8-Dec-06 9:02 
GeneralRe: Using reflection to get the instance name of a variable Pin
Not Active8-Dec-06 9:25
mentorNot Active8-Dec-06 9:25 
GeneralRe: Using reflection to get the instance name of a variable Pin
Pete O'Hanlon8-Dec-06 9:27
mvePete O'Hanlon8-Dec-06 9:27 
AnswerRe: Using reflection to get the instance name of a variable Pin
karam chandrabose8-Dec-06 10:11
karam chandrabose8-Dec-06 10:11 
QuestionAccess DB wont Update Pin
Vodstok8-Dec-06 8:11
Vodstok8-Dec-06 8:11 
I have a nifty little app that saves information from a richtextbox to an access table and retrieves it. doing inserts, deletes and selects work fantastic every time, but the portion where i try to do a simple Update statement fails miserably.
here is the updat ecode i am using:

OleDbCommand oc = ocom;<br />
<br />
            oc.CommandText = "UPDATE hold SET nm = @nm, content = @cont WHERE [id] = @id";<br />
<br />
            oc.Parameters.Add("@id", OleDbType.Integer).Value = id;<br />
            oc.Parameters.Add("@nm", OleDbType.VarChar).Value = nm;<br />
            oc.Parameters.Add("@cont", OleDbType.VarBinary).Value = b;<br />
<br />
            oc.Connection.Open();<br />
<br />
            oc.ExecuteNonQuery();<br />
            oc.Connection.Close();<br />


whener i run this, i get no exceptions or cute messages, and it isnt hidden in a try/catch statement and just getting overlooked, it just runs, but doesnt actually update the table. Has anyone seen this before?

______________________
Mr Griffin, eleventy billion is not a number...WTF | :WTF:

AnswerRe: Access DB wont Update Pin
Vodstok8-Dec-06 8:40
Vodstok8-Dec-06 8:40 
QuestionNHibernate Pin
peshawarcoder8-Dec-06 7:52
peshawarcoder8-Dec-06 7:52 
AnswerRe: NHibernate Pin
Pete O'Hanlon8-Dec-06 9:28
mvePete O'Hanlon8-Dec-06 9:28 
GeneralRe: NHibernate Pin
peshawarcoder11-Dec-06 2:12
peshawarcoder11-Dec-06 2:12 
QuestionDatabase Question [modified] Pin
mfcuser8-Dec-06 7:44
mfcuser8-Dec-06 7:44 
AnswerRe: Database Question Pin
User 17164929-Dec-06 4:55
professionalUser 17164929-Dec-06 4:55 
QuestionRestaurant POS Database Question (long) Pin
jeweladdict8-Dec-06 7:29
jeweladdict8-Dec-06 7:29 
AnswerRe: Restaurant POS Database Question (long) Pin
karam chandrabose8-Dec-06 10:06
karam chandrabose8-Dec-06 10:06 
AnswerRe: Restaurant POS Database Question (long) Pin
Not Active8-Dec-06 14:35
mentorNot Active8-Dec-06 14:35 
QuestionWhat is wrong Pin
CodeItWell8-Dec-06 7:16
CodeItWell8-Dec-06 7:16 
AnswerRe: What is wrong Pin
Andrew Rissing8-Dec-06 7:58
Andrew Rissing8-Dec-06 7:58 
QuestionNHibernate Pin
peshawarcoder8-Dec-06 6:41
peshawarcoder8-Dec-06 6:41 
AnswerRe: NHibernate Pin
Judah Gabriel Himango8-Dec-06 6:54
sponsorJudah Gabriel Himango8-Dec-06 6:54 
QuestionDisplay Datagrid Decimal to 2 places Pin
jeweladdict8-Dec-06 5:47
jeweladdict8-Dec-06 5:47 
AnswerRe: Display Datagrid Decimal to 2 places Pin
ednrgc8-Dec-06 5:58
ednrgc8-Dec-06 5:58 
GeneralRe: Display Datagrid Decimal to 2 places Pin
jeweladdict8-Dec-06 6:49
jeweladdict8-Dec-06 6:49 
GeneralRe: Display Datagrid Decimal to 2 places Pin
ednrgc8-Dec-06 6:59
ednrgc8-Dec-06 6:59 

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.