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
Efe Onah Ojobo
NA
32
5.9k
c#
Jun 25 2015 9:22 AM
i use these code to check for if a combobox and textbox is empty.
if(string.IsNullorWhiteSpace(textBox1.Text) && string.IsNullorEmpty(cmbcreditUnit.Text))
and it trigger is line of code.
listBox1.Items.Add(ComboBox1.SelectedItem);
by saying
Value cannot be Null,
Parameter name item.
Reply
Answers (
1
)
c#
On C# Viual Studio