keerthi sai

keerthi sai

  • NA
  • 57
  • 13.2k

how to convert object to string

Jul 18 2015 2:02 AM
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)