
其他
heyu1000
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C#串口程序
串口操作代码困惑了小弟好几天,主要是发送中文的时候老是不能识别,现在终于解决了,代码如下:构造: this._serialPort.DataReceived += new SerialDataReceivedEventHandler(port_DataReceived); this._serialPort.ReceivedBytesThreshold原创 2008-03-05 18:08:00 · 647 阅读 · 0 评论 -
ASP.NET水晶报表点打印按钮直接打印
在页面中加入 在*.cs文件中加入: CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX;原创 2008-08-05 12:20:00 · 1587 阅读 · 2 评论 -
ASP.NET 2.0一些简单而有用的技巧
1、在CallBack之后保持滚动条的位置在Asp.Net1.1中,CallBack之后保持滚动条的位置是一件非常痛苦的事情,特别是页中有一个Grid并且想要编辑特定的行。为了不停留在想要得行,页面会重新加载并且必须在顶部向下滚动。在Asp2.0中,只需要简单的在页面的属性中加入MaintainScrollPostionOnPostBack属性即可:2、页面加载后设置默认焦点到控件上这也是一个非常原创 2008-06-21 09:47:00 · 232 阅读 · 0 评论 -
POP3发邮件
public class Pop3MailService { public delegate void ReceivedMail(); public event ReceivedMail OnReceivedMail; string userName = string.Empty; string password = string原创 2008-11-14 10:17:00 · 686 阅读 · 0 评论 -
JMail接受邮件
public class JMailService { public delegate void ReceivedMail(); public event ReceivedMail OnReceivedMail; string userName = string.Empty; string password = string.Emp原创 2008-11-14 10:18:00 · 238 阅读 · 0 评论 -
FTP文件操作
public class FaxFTPService { string _ftpServerIP = string.Empty; string _ftpUserID = string.Empty; string _ftpPassword = string.Empty; //发送传真目录 string _ftpServe原创 2008-11-14 10:20:00 · 204 阅读 · 0 评论 -
showModalDialog窗口缓存解决办法
在HtML代码中加入原创 2008-11-16 12:00:00 · 235 阅读 · 0 评论 -
图片文件序列化之后通过XML传输
序列化 Bitmap bitMap = new Bitmap(filename); MemoryStream ms = new MemoryStream(); bitMap.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);原创 2009-09-09 10:04:00 · 1950 阅读 · 1 评论