.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

check the textbox values before posting data

Posted By: Jayakumar     Posted Date: March 09, 2010    Points:2   Category :Windows Application
hi

i m working @ windows application with c#.

like in gmail. while sending mail i have to check textboxes and show message.

Responses
Author: Venkat             
Posted Date: March 09, 2010     Points: 5   

Hi,

You can have a custom method to check the value entered into the text box or not like this

if(TextBox1.Text.Trim() == String.Empty)
{
MessageBox.Show("Please Enter the value");
TextBox1.Focus();
}


Mark As Answer if this solve your problem
Warm Regards,
Venkat
Author: Lalij Mer             
Posted Date: March 09, 2010     Points: 5   

show here you will help this URL
http://www.dotnetspider.com/resources/35470-Check-availability-Username-using-ASP-NET-MVC.aspx

Please Check my answer if you help....
Thank You...

Lalit.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend