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
fawzan mohamed
NA
65
0
sql exception was unhandled by user code
May 12 2011 1:22 AM
Whatz wrong with below code??? im getting 'sql exception was unhandled by user code' exception..
Why im am getting this??
public DataSet GetInterestData(DateTime dtSaleDate)
{
Database database = DatabaseFactory.CreateDatabase(CTBConnectionString);
DbConnection con = database.CreateConnection();
DbCommand command1 = database.GetStoredProcCommand("spGetInterestCalculationValue");
database.AddInParameter(command1, "@TransferDate", DbType.DateTime, dtSaleDate);
return database.ExecuteDataSet(command1);
}
Reply
Answers (
4
)
Windows Service deployment
c# sql server connection oop