摘要: XML 读取修改操作。读取XmlTextReadertextReader =newXmlTextReader(Server.MapPath("mb_Msg.xml"));textReader.Read();while(textReader.Read()){textReader.MoveToElement();if(textReader.Name =="msg"){content.Text = textReader.ReadString();}}textReader.Close();修改:XmlDocument xml = new XmlDocument( 阅读全文
posted @ 2013-10-23 15:48 If_1989 阅读(347) 评论(0) 推荐(0)
摘要: /// /// 返回URL内容,带POST数据提交 /// /// /// /// GET/POST(默认) /// public static string SendData(string url,string data,string method) { WebRequest wr = WebRequest.Create(url);//http://192.168.0.179:57/test1.aspx wr.Method = method; wr.ContentType = "application/x-www-form-urlencoded"; char[] rese 阅读全文
posted @ 2013-10-23 15:43 If_1989 阅读(214) 评论(0) 推荐(0)
摘要: javascript$("#frm_columns").attr("src","XgljFramePage.aspx?fflid="+fflid+"&zflid="+zflid+"&t="+Math.random());页面当父页面和子页面都属于同一个域下,那么它们之间js方法是可以相互调用的。在调用方法前指定function所属对象即可,父页面获取iframe所属对象方法为:iframe的name.window,iframe页面获取父页面的对象为parent的。具体例子如下:父 阅读全文
posted @ 2013-10-23 15:38 If_1989 阅读(300) 评论(0) 推荐(0)