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
Itzik S
NA
34
0
ExecuteNonQuery returns 1 , Database wont Update
Jun 11 2009 7:59 AM
hello i am creating a Windows Application C# 3.5 when i executeing function to insert into SQL Epxress it returns 1 on the Rows Effect but checking the Database Data nothing is inserted. public int ExectueNonQuery(string command) { int Results = -1; try { connection = new SqlConnection(ConnectionString); connection.Open(); scommand = new SqlCommand(command, connection); Results = scommand.ExecuteNonQuery(); } finally { scommand.Dispose(); if (connection != null) connection.Close(); } return Results; }
Reply
Answers (
7
)
Storing bytes to a varbinary(MAX) field in SQL Server
Customization Assembly could not be found....