Wednesday, July 2, 2014

split string in asp.net

string Argument = "shekhar,amit";
string[] arg = new string[2];
                arg = Argument.ToString().Split(',');
                Session["LeadId"] = arg[0];
                Session["ClientName"] = arg[1];

No comments:

Post a Comment