上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
//cmbProvince下拉菜单2 ProvinceModel bindProvinceModel = new ProvinceModel();3 string strBindProvince = Newtonsoft.Json.JsonConvert.SerializeObject(bindProvinceModel);4 string strResult = WebLockConfig.Instance.webProvince.GetProvinceDS(strBindProvince);5 DataSet ds = Newtonsoft.Json.JsonConvert.Deseria Read More
posted @ 2013-04-11 08:52 咸鱼公子 Views(250) Comments(0) Diggs(0) Edit
只有注册用户登录后才能阅读该文。 Read More
posted @ 2013-03-29 15:07 咸鱼公子 Views(6) Comments(0) Diggs(0) Edit
近日做了一个淘宝天猫采集器,可以采集到分类、列表、详情等等截图如下: Read More
posted @ 2013-02-25 17:52 咸鱼公子 Views(1030) Comments(0) Diggs(2) Edit
最近在看工厂开发模式,发现用到了反射,之前只听说过也没怎么用过;所以花了点时间重新温习了一遍;反射的作用是动态的加载某个dll(程序集),并执行该程序集中的某个方法,并返回结果;当然也可以给该方法传递参数namespace assembly_name { public class assembly_class { public string Show_Str(string str) { if (string.IsNullOrEmpty(str)) return "你没有传参数进... Read More
posted @ 2013-01-30 09:10 咸鱼公子 Views(28781) Comments(7) Diggs(6) Edit
因为工作需要在用户变量里添加一个“用户变量”,想了好多办法,查了很多资料想写一个VBS脚本,结果花了一两天都没搞出来结果今天在洗脚的时候突然想到,那些变量玩艺不就存在注册表里的么?哈哈代码如下:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Environment]"T1"="T01" 存为reg文件,就可以导入到注册表中 Read More
posted @ 2013-01-29 23:28 咸鱼公子 Views(698) Comments(0) Diggs(0) Edit
核心提示: 用的plsql以及oracle都是绿色版的,解压即用,win7 64位测试通过。PLSQL9中文绿色版:http://ishare.iask.sina.com.cn/f/23000969.html Oracle11g客户端绿色版用的plsql以及oracle都是绿色版的,解压即用,win7 64位测试通过。 PLSQL9中文绿色版: http://ishare.iask.sina.com.cn/f/23000969.html Oracle11g客户端绿色版 http://download.csdn.net/download/nourewang/3629123 步骤如下:1、解压Or Read More
posted @ 2013-01-18 11:21 咸鱼公子 Views(2240) Comments(0) Diggs(0) Edit
1、PL/SQL Developer记住登陆密码 在使用PL/SQL Developer时,为了工作方便希望PL/SQL Developer记住登录Oracle的用户名和密码; 设置方法:PL/SQL Developer 7.1.2 ->tools->Preferences->Oracle->Logon History , “Store history”是默认勾选的,勾上“Store with password” 即可,重新登录在输入一次密码则记住了。2、执行单条SQL语句 在使用PL/SQL Developer的SQL Window时,按F8键,PL/SQL Deve Read More
posted @ 2013-01-16 15:51 咸鱼公子 Views(10828) Comments(1) Diggs(0) Edit
我写的。保存点(SAVEPOINT)是事务处理过程中的一个标志,与回滚命令(ROLLBACK)结合使用,主要的用途是允许用户将某一段处理回滚而不必回滚整个事务。如果定义了多个savepoint,当指定回滚到某个savepoint时,那么回滚操作将回滚这个savepoint后面的所有操作(即使后面可能标记了N个savepoint)。例如,在一段处理中定义了五个savepoint,从第三个savepoint回滚,后面的第四、第五个标记的操作都将被回滚,如果不使用ROLLBACK TO savepoint_name而使用ROLLBACK,将会滚整个事务处理。create or replace pro Read More
posted @ 2013-01-15 12:35 咸鱼公子 Views(295) Comments(0) Diggs(0) Edit
1.打印输出exec dbms_output.put_line('hello');---需要使用打开SQL> set serverout on SQL> exec dbms_output.put_line('asda');asda2存储过程//带游标create or replace procedure SP_Test istempresult varchar2(1024);cursor cursora is select * from tl_qxq;begintempresult:='start->';for cursor_r Read More
posted @ 2013-01-14 20:08 咸鱼公子 Views(271) Comments(0) Diggs(0) Edit
功能:多个数组,排列,从功以上来说网上该有现成的例子。。。找到的全是写得很复杂,自己写了一个。 List<string> ToDo(string[] arrA, string[] arrB) { List<string> resultList = new List<string>(); //string[] arrA = { "a", "b" }; //string[] arrC = { "a", "d" }; foreach (string str in arrA) {... Read More
posted @ 2013-01-14 17:55 咸鱼公子 Views(308) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页