7
Answers

how to convert object to string

keerthi sai

keerthi sai

9y
652
1
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)