- 博客(4)
- 收藏
- 关注
转载 Linux使用Shell脚本实现ftp的自动上传下载
1. ftp自动登录批量下载文件。 #####从ftp服务器上的/home/data 到 本地的/home/databackup#### #!/bin/bash ftp -n<<! open 192.168.1.171 user guest 123456 binary cd /home/data lcd /home/databackup prompt mget * close bye ! 2.
2015-11-24 19:32:14
254
原创 动态修改GridView Head标题
protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Header) { e.Row.Cells[0].Text = "产品";
2014-07-16 09:13:37
632
转载 Asp.net 导出Excel文件
public void CreateExcel(DataSet ds,string typeid,string FileName) { HttpResponse resp; resp = Page.Response; resp.ContentEncoding = System.Text.E
2014-07-15 17:15:38
305
原创 Asp.net 获取服务器文件列表并绑定到DropDownList
string serverPath = Server.MapPath("File/"); DirectoryInfo dir = new DirectoryInfo(serverPath); foreach (FileInfo filename in dir.GetFiles("*.mps")) {
2014-07-15 15:57:16
555
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅