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
Thulasiram pakala
902
872
116.7k
In Sql Out parameter meaasge is 'CM0001' else Allredy Regi'
May 3 2021 9:44 AM
Select @Error
Error code output 'CM0001'
C# Code obj=cmd.Executenonquery();
in this execute nonquery return int but i want to display string its conversion error please help me
output is'CM0001'
string Consumer = Convert.ToString(SqlHelper.ExecuteNonQuery(myConnectionString, "Proc", arParamsOwners));
// object Consumer =Convert.ToString(SqlHelper.ExecuteDataset(myConnectionString, "Proc", arParamsOwners));
object Consumer = SqlHelper.ExecuteScalar(myConnectionString, "Proc", arParamsOwners);
Reply
Answers (
1
)
Dyanamic Social Media Link.
Hover in Social Media Icon.