Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
QuestionScaleTransform Pin
Hema Bairavan6-Apr-10 21:24
Hema Bairavan6-Apr-10 21:24 
AnswerRe: ScaleTransform Pin
Luc Pattyn6-Apr-10 23:16
sitebuilderLuc Pattyn6-Apr-10 23:16 
QuestionNotify users Pin
Morgs Morgan6-Apr-10 20:30
Morgs Morgan6-Apr-10 20:30 
AnswerRe: Notify users Pin
Greg Chelstowski6-Apr-10 21:32
Greg Chelstowski6-Apr-10 21:32 
GeneralRe: Notify users Pin
Morgs Morgan6-Apr-10 21:37
Morgs Morgan6-Apr-10 21:37 
GeneralRe: Notify users Pin
Greg Chelstowski6-Apr-10 21:42
Greg Chelstowski6-Apr-10 21:42 
Questionrecord no update Pin
mjawadkhatri6-Apr-10 20:05
mjawadkhatri6-Apr-10 20:05 
AnswerRe: record no update Pin
OriginalGriff6-Apr-10 22:25
mveOriginalGriff6-Apr-10 22:25 
If you are not sure what is going on, then enclose that code in a try...catch block and use
MessageBox.Show(ex.ToString());
to find out.
It may be that you have a try...catch block outside this method which is catching and discarding the error.

On a related note: change this to use parameterized queries, you are leaving yourself wide open to a SQL Injection attack. (Google for "Bobby Tables" to find out what that is)

P.S. When you give code fragments, always enclose them in <pre> </pre> blocks with the "code block" widget to preserve the formatting.
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

AnswerRe: record no update Pin
Greg Chelstowski6-Apr-10 22:45
Greg Chelstowski6-Apr-10 22:45 
Questionplz help!!error use of unassigned local variable Pin
crisjala6-Apr-10 17:24
crisjala6-Apr-10 17:24 
AnswerRe: plz help!!error use of unassigned local variable Pin
Matt U.6-Apr-10 17:59
Matt U.6-Apr-10 17:59 
AnswerRe: plz help!!error use of unassigned local variable Pin
uraghu6-Apr-10 18:22
uraghu6-Apr-10 18:22 
AnswerRe: plz help!!error use of unassigned local variable Pin
Arun Jacob6-Apr-10 19:00
Arun Jacob6-Apr-10 19:00 
AnswerRe: plz help!!error use of unassigned local variable Pin
Morgs Morgan6-Apr-10 20:58
Morgs Morgan6-Apr-10 20:58 
AnswerRe: plz help!!error use of unassigned local variable Pin
OriginalGriff6-Apr-10 22:29
mveOriginalGriff6-Apr-10 22:29 
QuestionCreating a file and saving it to C Pin
Darrall6-Apr-10 14:09
Darrall6-Apr-10 14:09 
AnswerRe: Creating a file and saving it to C Pin
Super Lloyd6-Apr-10 14:32
Super Lloyd6-Apr-10 14:32 
AnswerRe: Creating a file and saving it to C Pin
harold aptroot6-Apr-10 15:03
harold aptroot6-Apr-10 15:03 
GeneralRe: Creating a file and saving it to C Pin
Darrall6-Apr-10 15:47
Darrall6-Apr-10 15:47 
GeneralRe: Creating a file and saving it to C Pin
Dan Mos6-Apr-10 16:49
Dan Mos6-Apr-10 16:49 
GeneralRe: Creating a file and saving it to C Pin
Darrall7-Apr-10 4:47
Darrall7-Apr-10 4:47 
AnswerRe: Creating a file and saving it to C Pin
PIEBALDconsult6-Apr-10 15:24
mvePIEBALDconsult6-Apr-10 15:24 
GeneralRe: Creating a file and saving it to C Pin
Darrall6-Apr-10 16:01
Darrall6-Apr-10 16:01 
GeneralRe: Creating a file and saving it to C Pin
PIEBALDconsult6-Apr-10 16:13
mvePIEBALDconsult6-Apr-10 16:13 
QuestionHow to call a COM function with arguments using IDispatch in C# Pin
JF Pomerleau6-Apr-10 11:27
JF Pomerleau6-Apr-10 11:27 

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.