7
Reply

how to convert object to string

keerthi sai

keerthi sai

Jul 18 2015 2:02 AM
634
how to convert object to string  in  C#
 
 
Example::
 
ContentPlaceHolder con = Page.Master.FindControl("MainContainer") as ContentPlaceHolder;
object t = con.FindControl("mahi");
string id = Convert.ToString(t);
string[] words = id.Split(',');
 

Answers (7)