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
Enos
NA
140
26.4k
Change font size from the datagridview
Apr 2 2015 10:28 AM
I have a combo box and label which am using to change the font size of the lable. Now what i want is to pass it to the datagridview.
from the datagridview that i have.
I have five rows and one of the cells is a combo box with items(2.4.6.8). now i want to be able to select from the combo box and it must change the font size of the cell that i made changes on
here is my code
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
lblEnos.Font = new Font(lblEnos.Font.FontFamily, Convert.ToInt32(comboBox1.SelectedItem), lblEnos.Font.Style);
}
Reply
Answers (
1
)
Convert Multiple Images to PDF using iTextSharp?
Update IIS Website settings Programmatically