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
Lerroy Fernandes
NA
17
10.6k
How to disable add button until all data fields are entered
Feb 8 2021 3:16 PM
Hi I have a question where i need a check on all datainputfields, fields include textbox 1-9 and a picturebox 1.
I cannot seem to handle the check.
Request help. so at present this is the code for onclick, how do I add a check on click?
private void button2_Click(object sender, EventArgs e)
{
MemoryStream mmst = new MemoryStream();
pictureBox1.Image.Save(mmst, pictureBox1.Image.RawFormat);
byte[] img = mmst.ToArray();
dataGridView1.Rows.Add(textBox1.Text, textBox2.Text, textBox3.Text, textBox4.Text, textBox5.Text,
textBox6.Text, textBox7.Text, textBox8.Text, img);
Reply
Answers (
1
)
LOGIN INPUTS NOT DISPLAYED IN DATABASE
C# Showing pictures from "DataGridView" on RDLC report image