上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 65 下一页
摘要: 首先在VS2005----》网站----》添加引用----》com----->microsoft office web components privatevoidgetchart(DataTabledt, int rows){try{intcount=dt.Rows.Count;if (count < 3) { divchart.InnerHtml = "<span style='color:red'>数据少于3条,无法生成图表!</span>";return; }//存放月string[]MonNum=newstrin 阅读全文
posted @ 2011-05-11 14:56 94cool 阅读(288) 评论(0) 推荐(0)
摘要: 设置如下时间刻度:ChartAxisGroupingEnum.chAxisGroupingManual;ChartAxisUnitTypeEnum.chAxisUnitMonth;需要在SetData后面加上上面属性,否则会出现参数无效问题:InsertChart.SeriesCollection.Add(0); InsertChart.SeriesCollection[0].DataLabelsCollection.Add(); InsertChart.SeriesCollection[0].DataLabelsCollection[0].HasValue = true; InsertCha 阅读全文
posted @ 2011-05-11 14:52 94cool 阅读(364) 评论(0) 推荐(0)
摘要: 如:有用户控件header、affiche,在affiche中获取header的值(前提这些值必须public)在affiche.cs中加入多个属性值:Page p = this.Parent.Page; UserControl uc = p.FindControl("header1") as UserControl; Type pageType = uc.GetType();FieldInfo[] myFields = pageType.GetFields(BindingFlags.Public | BindingFlags.Instance);for (int i = 阅读全文
posted @ 2011-05-03 10:34 94cool 阅读(270) 评论(0) 推荐(0)
摘要: 1:vc6中新建win32 简单动态链接库2:添加Rename.cpp文件,如下:#include <string>#include <stdlib.h>using namespace std; extern "C" int _declspec(dllexport) renamefile(char *_oldname,char * _newname);int renamefile(char* _oldname,char* _newname) { char oldname[1000], newname[1000]; strcpy(oldname,_ol 阅读全文
posted @ 2011-04-16 23:35 94cool 阅读(551) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--file="c:\\temp\test.csv";DataSetds=newDataSet();stringfilePath=file.Substring(0,file.LastIndexOf("\\")+1);using(OleDbConnectionconn=newOleDbConnection(string.Format(@"Provider=Microsoft.Jet.OLEDB.4.0; 阅读全文
posted @ 2010-12-24 11:19 94cool 阅读(622) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#regionToVCF2protectedvoidbtn_outvcf_Click(objectsender,EventArgse)3{4stringcode=Request["hid_code"].ToString().Trim(',');5StringBuildersb=newStringBuilder();6if(!string.IsNullOrEmpty(code))7{8string 阅读全文
posted @ 2010-12-23 14:03 94cool 阅读(325) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1privatevoidbutton1_Click(objectsender,EventArgse)2{3UploadFileHttpRequest(AppDomain.CurrentDomain.B... 阅读全文
posted @ 2010-11-26 16:48 94cool 阅读(2650) 评论(2) 推荐(1)
摘要: WTK2.5.2\wtklib\devices\DefaultColorPhone\DefaultColorPhone.properties这个配置文件里面screenPaintableRegion.y=10设置为0 阅读全文
posted @ 2010-11-24 17:25 94cool 阅读(562) 评论(0) 推荐(0)
摘要: string msg = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope//">"; msg += "<SOAP-ENV:Body>"; msg += "<samlp:ArtifactResponse xmlns:samlp=\"urn:oasis:names:... 阅读全文
posted @ 2010-09-19 09:18 94cool 阅读(986) 评论(0) 推荐(1)
摘要: 很久以前,在一个香火很旺的寺庙里,有一只染上了佛性的蜘蛛。有一天,佛从天上路过,佛来到了这个寺庙里,看见了那只蜘蛛,佛问:“蜘蛛,你知道什麽是这个世界上最值得珍惜的吗?” 蜘蛛回答:“得不到的和已经失去的。”   佛说:“好,那我三千年后再来问你这个问题。”佛走了.蜘蛛仍然生活在这个寺庙,每天都在为前来许愿的人们所祈祷,每天都... 阅读全文
posted @ 2010-09-16 19:43 94cool 阅读(264) 评论(0) 推荐(0)
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 65 下一页