![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
xinirvana2
这个作者很懒,什么都没留下…
展开
-
VS2010做RDLC报表xsd数据源只能放在根目录
VS2010做RDLC报表xsd数据源只能放在根目录?解决:可视化操作下,先将xsd放在根目录,在报表中选择数据源,通过XML打开报表,能找到刚刚选择的数据源的路径,根据需要做修改。...原创 2012-06-12 09:44:24 · 203 阅读 · 0 评论 -
C#图片上传方法
[code="c#"]public string PicUpLoad(){ string save_filePath = "/Image/nopic.gif"; if (this.fuPic.FileName != null && this.fuPic.HasFile) { string ImgName = this.fuPic.File...原创 2012-03-19 10:33:14 · 270 阅读 · 0 评论 -
滑块调节窗体透明度
[code="c#"]private void tbOpacity_Scroll(object sender, EventArgs e){ this.Opacity = (tbOpacity.Value + 1) / 11.0;}[/code]这里加1除以11.0目地有二:1.保证当滑块调制最小时,不至于全透明,完全看不见窗体;2.赋值必须是0.0至1.0...原创 2012-03-26 14:31:16 · 197 阅读 · 0 评论 -
字母加随机数字编号
[code="c#"]private string getAplusRandom(){ string strFive = CreateRandom(); DataSet ds = rule.GetOne(strFive); if (ds.Tables[0].Rows.Count == 0) { } else { ...原创 2012-04-05 14:02:38 · 191 阅读 · 0 评论