2
Reply

I am very new to VS2010. I am developing a Windows application using C#. My question is I want to update the DB with a field on the Windows screen. I am able to use defaults and they work just fine: cmd.CommandText = "UPDATE BM_DISPUTES SET DIS_LASTNAME = 'NOBODY'" + "WHERE DIS_NO = 41"; I know this might be simple to the rest of you, but I have just started about 3 weeks ago and would appreciate the help. Thanks, Ben

Ben meade

Ben meade

13y
4.4k
0
Reply

    Hi,

    Try with below code

    cmd.CommandText = "UPDATE BM_DISPUTES

    SET DIS_LASTNAME = '"NOBODY"' + WHERE DIS_NO = "41" ";

    Please ask your question at Forum.This section is for "Job Interview Questions".Thank you