TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
timothy.farrell
NA
105
0
If Then Else Stmt in C#
May 11 2004 11:06 AM
Can anyone help me to format this in C#? Here is the code as I had it in VB: cmd.ExecuteNonQuery() if cmd.Parameters("ReturnValue").value = 0 then lblStatus.text = "This Tool has been successfully added." else lblStatus.text = "Error! Please try agian" end if sqlConn.Close(); Thank you. Tim
Reply
Answers (
5
)
How to obtain file owner or "last saved by" with C#
Something wrong with C# dropdown list