Tips Station Asp.net Article Seo Articles
Tutorials Code Samples
›  Home
›  Mission
›  About us
›  Contact Us
›  Feedback
›  Terms & Condition
Asp Articles
IT Solutions
 
› ASP.NET

› Programming Tips

› Ajax

› Asp

› ADO.NET

› Databases

› SEO

› CSS And Designing

› Php

 
Most Viewed Articles
 
› Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

› Change theme dynamically without page refresh in ASP.NET

› Install AJAX On Machines Running Visual Studio 2005

› Creating Pretty Popups Using AJAX

› Simple ASP Image Resize Function

› SQL Server Performance Counters

› ASP.Net Interview Questions And Their Answers

› Encode Url using ASP

› Difference Between DataGrid and GridView in Asp.Net

› Select Specific Value WithIn Drop Down List Or Radio Button List

more...
 
 
Home> Programming Tips
 
Clear all TextBox values in Asp.Net
 

An example of a recursive function to clear all TextBox values on a page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click  
        EmptyTextBoxValues(Me)  
    End Sub  
      
    Private Sub EmptyTextBoxValues(ByVal parent As Control)  
        For Each c As Control In parent.Controls  
            If (c.Controls.Count > 0) Then  
                EmptyTextBoxValues(c)  
            Else  
               If TypeOf c Is TextBox Then  
                   CType(c, TextBox).Text = ""  
               End If  
           End If  
       Next  
   End Sub 

 
 
Vrp Technologies
 
Serversea Hosting
 
 
Latest Articles
 
› Sending SMS With PHP

› MySQL Join Tutorial

› Make An RSS Feed Using PHP

› Intro To Object: Option Variables

› Design An Online Chat Room With PHP And MySQL

› Create Tell A Friend Script With HTML & PHP

› Benchmark And Optimize PHP Script Speed

› What Kind of DBA Are You?

› SQL Server Performance Counters

› SQL Server Performance Tips

more...
 
Random Articles
 
› The Low Down On Cascading Style Sheets

› ADO.NET Data Classes

› Writing SEO Friendly URL using HttpHandlers in ASP.NET

› Understanding Transaction in ADO.NET

› How To Set Up A 301 Redirect On IIS

› Display records from Microsoft Excel in ASP

› Server Variables in ASP

› Understanding DDL Triggers In SQL Server 2005

› Clear all TextBox values in Asp.Net

› CSS Cursors - How To Use Them

more...
 
Home Mission About us Contact us Feedback Terms Conditions
2008 © Copyright TipsStation. All rights reserved.