Satheesh Palani

Satheesh Palani

  • NA
  • 333
  • 85.3k

Class file for web page

Mar 30 2016 6:28 AM
Hi,
 
 
      I want to create class file for clear the text box value in web page.In visual studio how can i create the Clear.cs file and how can i call the file in .aspx page.for eaxmple i am using the clear button code in .aspx is given below,
 
protected void Clear_Click(object sender, EventArgs e)
 textbox1.Text = "" ;
 textbox2.Text = "" ;
}
 
with help Clear.cs file how can i do this process.can any one try to help me.
 
 

Answers (1)