1,首先写一条能运行成功插入SQL的语句 INSERT INTO sign_guest(realname,phone,email,sign,event_id)VALUES("jack",13800101100,"jack@mail.com",0,1) 2,通过python批量写如文本 f =open('guest.txt','w') for i in range(1,100): str_i = str(i) realname = 'jack' + str_i pho…
转:http://www.cnblogs.com/the7stroke/archive/2012/04/22/2465597.html using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.Data; public class SQLHelper { /// <summary> /// 插入单个实例 /…