Sir,
Following is my code
Textbox tb = (TextBox)Conver t.ToString(s) ;
In above code i want to pass value present in the string variable 's' to the 'tb' variable but i am getting following error message
"Cannot convert type 'string' to 'System.Web.UI. WebControls.Tex tBox"
Plz suggest me how to write this code.
Thanking You
Sagar.
Following is my code
Textbox tb = (TextBox)Conver t.ToString(s) ;
In above code i want to pass value present in the string variable 's' to the 'tb' variable but i am getting following error message
"Cannot convert type 'string' to 'System.Web.UI. WebControls.Tex tBox"
Plz suggest me how to write this code.
Thanking You
Sagar.
Comment