随笔分类 - asp.net
摘要:通过编辑 Web 服务所在的 vroot 的 Web.config 文件,可以启用 HTTP GET 和 HTTP POST。以下配置同时启用了 HTTP GET 和 HTTP POST: 来源:http://www.cnblogs.com/wuchao/p/3177847.html
阅读全文
摘要://设置X轴坐标的间隔为1Chart1.ChartAreas[0].AxisX.Interval = 1; //设置X轴坐标的偏移为1Chart1.ChartAreas[0].AxisX.IntervalOffset = 1; //设置X轴坐标的值的间隔为1Chart1.ChartAreas[0].AxisX.LabelStyle.Interval = 1;//设置交错显示,例如数据多时可分两行显示Chart1.ChartAreas[0].AxisX.LabelStyle.IsStaggered =true; //X轴Label角度Chart1.ChartAreas[0].AxisX.Labe
阅读全文
摘要:namespace Lance{ /// /// 字符串处理 /// public class StringHandle { /// /// 剪切字符串 /// /// 要剪切的字符串 /// 要保留字符的字节数 /// public static string CutString(string inputString, int len) { ASCIIEncoding ascii = new ASCIIEncoding(...
阅读全文
摘要:asp.net sitemap url动态参数
阅读全文
摘要:两个页面1.TestJson.aspx 展示页面主要js和引用的js<link href="../Styles/FundCrm.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/jquery-1.4.4.min.js" type="text/javascript"></script> <script type="text/javascript"> v
阅读全文
摘要:DataSet ds = DbHelperOleDb.Query(sbSql.ToString()); DataTable dt = ds.Tables[0]; string[] agencyname = new string[6]; double[] sumshares = new double[6]; sumshares[5] = 0; for (int i = 0; i < dt.Rows.Count; i++) { if (i < 5) { agencyname[i] = dt.Rows[i]["fund_Name"].ToString(); sumsh
阅读全文
摘要:DataSet ds = DbHelperOleDb.Query(sbSql.ToString());//获取数据源Chart1.Series.Clear();//清空Series集合,自我感觉显示用例的时候清空下,重新添加容易控制 foreach (DataRow item in ds.Tables[0].Rows)//添加设置用例图标 { Chart1.Series.Add(item["fund_code"].ToString());//添加一个Series Chart1.Series[item["fund_code"].ToString()].Le
阅读全文

浙公网安备 33010602011771号