Click here to Skip to main content
15,944,397 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have added three textbox which have the same top property . how to check this text boxes are empty or not when i click on save button. how to insert it's value is database in windows form application
Posted
Comments
Telstra 6-May-14 10:44am    
any efforts? please post here

C#
protected override void LoadViewState(object savedState)
   {
       base.LoadViewState(savedState);
       foreach (string txtID in ControlsList)
       {
           TextBox SerialText = new TextBox();
           SerialText.ID = txtID;
           panelEnterSerial.Controls.Add(SerialText);
           panelEnterSerial.Controls.Add(new LiteralControl("&nbsp"));
       }
   }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900