web.MasterUrl = Regex.Replace(master, "default.master", newMaster, RegexOptions.IgnoreCase);web.Update();
更换模板页代码
转载于:https://www.cnblogs.com/tjsunyf/archive/2012/08/31/2666121.html
web.MasterUrl = Regex.Replace(master, "default.master", newMaster, RegexOptions.IgnoreCase);web.Update();
转载于:https://www.cnblogs.com/tjsunyf/archive/2012/08/31/2666121.html