不断积累,必然飞跃,突破随之!

相信自己,开拓生活!
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页

2008年11月24日

摘要: Arraylist和其它一维数组的化 ArrayList members = new ArrayList();object[] values= members.ToArray()(ClassMember[])values//错误 ClassMember[] values=members.ToArray(typeof(ClassMermber)) as ClassMember[]//真确 //把... 阅读全文

posted @ 2008-11-24 16:43 Tangyuan2017 阅读(183) 评论(0) 推荐(0) 编辑

摘要: --按年 select * from 表名 where format(字段名,"yyyy")=你输入的年份 --按月 select * from 表名 where format(字段名,"mm")=你输入的月份 --按年月,注意你的年月要转换为200606类似的格式 select * from ... 阅读全文

posted @ 2008-11-24 13:31 Tangyuan2017 阅读(866) 评论(0) 推荐(0) 编辑

2008年11月7日

摘要: Javascript:为Element对象添加事件 有两种方法可以使用: 1.使用DOM的 添加 Event 的方法, Element.attachEvent('ondblclick',testonclick); 2.elmt.onXXX = function() { return false; } 通过这两种方法都可以添加 Element 的事件,在 Mozilla 中... 阅读全文

posted @ 2008-11-07 11:28 Tangyuan2017 阅读(894) 评论(0) 推荐(0) 编辑

2008年10月29日

摘要: private delegate void SetListBoxCallBack(string str);//声名委托 private SetListBoxCallBack setlistboxcallback;//声名委托实例 public Form1() { InitializeComponent(); } ... 阅读全文

posted @ 2008-10-29 10:11 Tangyuan2017 阅读(231) 评论(0) 推荐(0) 编辑

2008年10月28日

摘要: OpenFileDialog dialog = new OpenFileDialog();dialog.Filter = "Audio Files (.wav)|*.wav";if(dialog.ShowDialog() == DialogResult.OK){ string path = dialog.FileName; playSound(path); } private v... 阅读全文

posted @ 2008-10-28 15:05 Tangyuan2017 阅读(291) 评论(0) 推荐(0) 编辑

2008年10月27日

摘要: //DirectoryInfo dir = new DirectoryInfo("c:\\"); // System.IO .FileSystemInfo[] fis = dir.GetFileSystemInfos(); // if (fis[1] is DirectoryInfo ) // { // ... 阅读全文

posted @ 2008-10-27 22:04 Tangyuan2017 阅读(204) 评论(0) 推荐(0) 编辑

2008年10月23日

摘要: 页面中控件两个textBox,(txtBox1,TbxMessage)一个button(btnSend) //创建一个Thread实例 private Thread thread1; //创建一个UdpClient实例 private UdpClient udpReceive; private Ud 阅读全文

posted @ 2008-10-23 14:04 Tangyuan2017 阅读(247) 评论(0) 推荐(0) 编辑

2008年10月20日

摘要: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { string str = e.Row.Cells[1].Text; ... 阅读全文

posted @ 2008-10-20 15:51 Tangyuan2017 阅读(220) 评论(0) 推荐(0) 编辑

2008年10月16日

摘要: SocketServer 端应用程序 static void Main(string[] args) { IPAddress address = IPAddress.Parse("127.0.0.1"); IPEndPoint point = new IPEndPoint(address, 3000); ... 阅读全文

posted @ 2008-10-16 10:13 Tangyuan2017 阅读(207) 评论(0) 推荐(0) 编辑

2008年10月13日

摘要: access不支持临时表, access不支持 select top 0 from tableA 阅读全文

posted @ 2008-10-13 17:30 Tangyuan2017 阅读(183) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页