- 博客(21)
- 资源 (3)
- 收藏
- 关注
原创 gradview 数据回发问题
lblprice = (Label)paraview.Rows[row.RowIndex].FindControl("lblsprice"); lblsupply = (Label)paraview.Rows[row.RowIndex].FindControl("lblssupply"); // hid...
2018-03-30 21:02:14 148
原创 SQL遍历整个数据库查找字符串
create table TT(tablename nvarchar(128),columnname nvarchar(128),columndata nvarchar(max)); use changyu; --使用数据库declare @t11 varchar(50) declare @c1 varchar(50) declare @b1 varchar(10)dec...
2018-03-30 15:31:20 4915
原创 SQL 遍历整个数据库查询字符串
create table TT(tablename nvarchar(128),columnname nvarchar(128),columndata nvarchar(max)); use test; --使用数据库declare @t11 varchar(50) declare @c1 varchar(50) declare @b1 varchar(10)declar...
2018-03-30 15:27:19 3649
原创 CordovaError: Could not find an installed version of Gradle either in Android Studio,
下载一个 :https://services.gradle.org/distributions/
2018-03-26 18:22:58 2020
原创 aspx 无法下载文件
if (IsPostBack) { action = Request.QueryString["Action"].ToString(); //action id 非常重要 ,如果不添加会出现 执行错误,出现无法更新画面 if (action != "Create") { ...
2018-03-25 22:43:10 1361
原创 aspx 无法更新画面
action = Request.QueryString["Action"].ToString(); //action id 非常重要 ,如果不添加会出现 执行错误,出现无法更新画面 if (action != "Create")没有添加 action = Request.QueryString["Action"].ToString(); 导致...
2018-03-25 22:41:52 135
原创 jQuery 删除 listbox item
$("#ContentPlaceHolder1_listFileList option:eq("+i+")").remove();$(".selector2").empty();
2018-03-24 19:47:22 383
原创 aspx 无法动态显示 隐藏 asp:UpdatePanel
设置 asp:UpdatePanel visible 为true, updatepanel 下面的控件visible 为false, 动态设置基本控件的visible 为true或false 即可
2018-03-24 08:25:45 553
转载 C#double转化成字符串 保留小数位数, 不以科学计数法的形式出现。
float sum = float.Parse(dt.Rows[0]["max_value"].ToString()); float used = float.Parse(dt.Rows[0]["usevalue"].ToString()); double tempsum = sum - used; txtusedvalue.Text = te...
2018-03-23 23:02:49 4167
转载 SQL关键字冲突
比如最常见的USER作为表名,用SQL语句“select * from USER”查询就会出现如下错误:在关键字 'USER' 附近有语法错误 可以用[ ]避免出现这样的错误,即:将SQL语句改正这样“select * from [USER]”...
2018-03-21 16:18:32 976
原创 create refid identity
CREATE TABLE "form_pd300item" ( "refid" bigint identity(1,1) not null, "form_id" VARCHAR(20) NULL DEFAULT NULL, "item" VARCHAR(20) NULL DEFAULT NULL, "item_desc" NVARCHAR(100) NULL DEFAULT NU...
2018-03-20 13:38:02 200
原创 with as insert
with a as(select distinct pcode,matid,matgroup,matmemo from ps where matgroup like 'B01%' ), b as ( select distinct pcode,matid,matgroup,matmemo from ps where matgroup like 'H0%'), c as (selec...
2018-03-20 13:33:32 4341
原创 with as insert SQL
with a as ( select orderid,matid,matgroup from ps1 where matgroup like 'B01%' ), b as ( select orderid,matid,matgroup from ps1 where matgroup like 'H0%' ), c as ( select orderid,matid,mat...
2018-03-15 15:02:03 1356
转载 SQL with as 查询
一.WITH AS的含义 WITH AS短语,也叫做子查询部分(subquery factoring),可以让你做很多事情,定义一个SQL片断,该SQL片断会被整个SQL语句所用到。有的时候,是为了让SQL语句的可读性更高些,也有可能是在UNION ALL的不同部分,作为提供数据的部分。 特别对于UNION ALL比较有用。因为UNION ALL的每个部分可能相同,但是如果每个部分都去执行一...
2018-03-15 15:00:14 299
原创 Uncaught TypeError: Cannot set property 'innerHTML' of null
报错误:Uncaught TypeError: Cannot set property 'innerHTML' of null因为js引用了下面<div>中的元素,如果<置于<div>之上,是引用不了其中的元素的,应当将其置于最底层的<body>修改如下,即不会再报错了这样会报错误:Uncaught TypeError: Cannot set proper...
2018-03-15 13:53:21 1017
原创 jquery json context.request System.NullReferenceException: 未将对象引用设置到对象的实例
var data = context.Request; var sr = new StreamReader(data.InputStream); var stream = sr.ReadToEnd(); var javaScriptSerializer = new JavaScriptSerialize...
2018-03-08 14:55:02 987
原创 html js 跨页传递值
可以使用 top.opener 属性给 父类page 赋值! top.opener.PassUpSetValue(document.getElementById("name1").value);
2018-03-04 22:06:55 647
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人