摘要: <HTML><HEAD> <TITLE> 上传图片预览 </TITLE></HEAD><BODY> <script type="text/javascript"> function lookImg(){ var fileURL=document.myForm.myFile.value; fileURLSplit = fileURL.split("."); fileExt=fileURLSplit[fileURLSplit.length-1].toLowerCase(); 阅读全文
posted @ 2011-07-04 15:31 likunran 阅读(141) 评论(0) 推荐(0) 编辑
摘要: DataTable转换成JSON字符串的函数2009-01-09 15:45:35|分类: 默认分类 |标签:无 |字号大中小订阅 private string DataTable2Json(DataTable dt) { StringBuilder jsonBuilder = new StringBuilder(); jsonBuilder.Append("{\""); jsonBuilder.Append(dt.TableName); jsonBuilder.Append("\":["); for (int i = 0; i &l 阅读全文
posted @ 2011-07-04 15:26 likunran 阅读(140) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net.Mail; using System.Net; namespace windows{ public partial class Form1 : Form { public Form1() { InitializeC 阅读全文
posted @ 2011-07-04 14:16 likunran 阅读(148) 评论(0) 推荐(0) 编辑