public static bool CreatUser(String TrueName,String XMPY) { using (DataClassesEduDataContext dc = new DataClassesEduDataContext()) { string passwd = "000000"; dc.CreateUser(XMPY, TrueName, BLL.pub.PubClass.MD5(passwd), XMPY + "@sina.com", Guid.NewGuid().ToString().ToUpper().Replace("-", "")); dc.SubmitChanges(); } return true; }