zoukankan
html css js c++ java
C# split用法
1
string
[] sss
=
txtQueryVal.Text.ToString().Split(
new
char
[]
{
'
-
'
}
);
2
3
string
year
=
sss[
0
].ToString();
4
string
month
=
sss[
1
].ToString();
5
string
day
=
sss[
2
].ToString();
6
7
string
selsql4
=
"
select * from OA_Worklog where Datepart(year,OA_Worklog_Day)='
"
+
year
+
"
'and Datepart(month,OA_W orklog_Day)='
"
+
month
+
"
'and Datepart(day,OA_Worklog_Day)='
"
+
day
+
"
'
"
;
8
SqlDataAdapter sqlCom4
=
new
SqlDataAdapter(selsql4,sqlCon);
9
DataSet ds
=
new
DataSet();
10
sqlCom4.Fill(ds,
"
OA_Worklog
"
);
11
DGrid_QueryResult.DataSource
=
ds.Tables[
"
OA_Worklog
"
].DefaultView;
12
DGrid_QueryResult.DataKeyField
=
"
OA_Worklog_Id
"
;
13
DGrid_QueryResult.DataBind();
查看全文
相关阅读:
cookie,sessionStorage,localStorage
存储方式与传输方式
为什么css放在顶部而js写在后面
常见的web安全及防护原理
web缓存
http协议理解
http与https
get/post的区别
JZOJ 3571. 【GDKOI2014】内存分配
JZOJ 3570. 【GDKOI2014】壕壕的寒假作业
原文地址:https://www.cnblogs.com/shf/p/343338.html
最新文章
题解 【SDOI2009】HH的项链
题解 【国家集训队2011】数颜色
题解 小B的询问
题解 【SCOI2015】小凸玩矩阵
题解 【HEOI2016】tree树
题解 文理分科
题解 [SCOI2007]修车
题解 化学反应
ajax:dataType
启动tomcat报java.lang.NoClassDefFoundError: javax/el/ExpressionFactory解决方法
热门文章
jsp 页面链接(注解:指a标签的超链接)乱码问题及其解决办法(转)
jsp页面分页用<a>标签时乱码问题
MyEclipse保存文件时提示"save could not to completed ISO-8859-1"(转)
JQuery中$.ajax()方法参数详解(转)
jQuery对select操作小结(转)
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory的解决(转)
JAVA坏境变量中的JAVA_HOME path classpath 的设置与作用。(转)
js"Automation 服务器不能创建对象"(转)
Cookie的弊端有哪些???(优势:保存客户端数据,分担了服务器存储的负担)
token、cookie、session三者的理解???!!!
Copyright © 2011-2022 走看看