1
Answer

Class file for web page

SATHEESH P

SATHEESH P

8y
279
1
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)