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
Israel
693
1.3k
219.5k
Rectify this code please
Apr 18 2016 10:23 AM
Hi!
I wrote these code to make two filters (the
company
and
year
). Means I need to filter any company with the same company's
name
with the
year
'x'. But the code doesnt obey maybe I do a mistake somewhere. These is my codes:
...
string commandString = "select top 1 * from Firme where company='" + cbxCompany.Text + " and =year" +txtYear.Text + "' order by BillNumeber desc";
...
}
read.Close();
sqlCon.Close();
Reply
Answers (
4
)
Create separate view for sending email (body) in ASP.NET MVC
Object reference not set to an instance of an object error i