摘要:
1,我在form之外添加了一个button,结果提示错误:“Button”的控件“PreButton”必须放在具有 runat=server 的窗体标记内。解决办法: 在页面中重写Page基类的VerifyRenderingInServerForm方法 public override void VerifyRenderingInServerForm(Control control) { // Confirms that an HtmlForm control is rendered for }来源:http://www.cnblogs.com/littleangel7/articles... 阅读全文
摘要:
1,类内容: public static class SerializerUtil { #region 序列化位二进制 /// <summary> /// 序列化位二进制 /// </summary> /// <param name="request">要序列化的对象</param> /// <returns>字节数组</returns> public static byte[] SerializeBinary(object reques... 阅读全文