Profile p = new Profile();
var user = Session["UserId"];
p.UserId = user ;
After compiling this code I am getting the error:
can not implicitly convert object type to system.guid
Profile p = new Profile();
var user = Session["UserId"];
p.UserId = user ;
After compiling this code I am getting the error:
can not implicitly convert object type to system.guid