How to Open a text File into Textbox || richTextBox in C#
How to Open a text File into Textbox || richTextBox in C# Hello friend’s this is Rashid Hussain come with
Read MoreYour Online Instructor
How to Open a text File into Textbox || richTextBox in C# Hello friend’s this is Rashid Hussain come with
Read MoreHow To Get The Sum Of DataGridView Column Values In C# Hello friend’s this is Rashid Hussain come with another
Read MoreSearch And Highlight Text In Rich TextBox In C# Winform Hello friend’s this is Rashid Hussain come with another video
Read MoreDownload and Install Report Viewer For Visual Studio 2017 Hello friend’s this is Rashid Hussain come with another video tutorial.
Read MoreHow to create text to speech converter in c# Hello friend’s this is Rashid Hussain come with another video tutorial.
Read MoreDesigning a dashboard in wpf Hello friend’s this is Rashid Hussain come with another video tutorial. In this tutorialĀ I’ll show
Read MoreHow to use progress bar in c# winforms application Hello friend’s this is Rashid Hussain come with another video tutorial.
Read MoreCreate Login Form With User Authentication in C# using PostgreSQL Hello friend’s this is Rashid Hussain come with another video
Read MoreDesigning a Modern Flat Desktop Application for Fast Food Restaurant in Visual C# net Images Hello everyone, welcome backĀ me
Read MoreHow to use Error Provider Control in Windows Forms and C# TextBox 1 Validating
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
private bool CheckName() { bool status = true; if (textBox1.Text=="") { errorProvider1.SetError(textBox1,"Please Enter Your Name"); status = false; } else { errorProvider1.SetError(textBox1,""); } return status; } |
TextBox 2 Validating
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
private bool CheckAge() { bool status = true; if (textBox2.Text=="") { errorProvider1.SetError(textBox2,"Please Enter Your Age"); status = false; } else { errorProvider1.SetError(textBox2,""); try { int checkage = int.Parse(textBox2.Text); errorProvider1.SetError(textBox2, ""); if (checkage<18) { errorProvider1.SetError(textBox2, "your age must be 18 year old"); status = false; } else { errorProvider1.SetError(textBox2, ""); } } catch (Exception ex) { errorProvider1.SetError(textBox2, "Please enter your age as number"); status = false; } } return status; } |
When
Read More