zoukankan
html css js c++ java
综合
public
void
GetAllInfoRead()
{
SqlConnection conn
=
new
SqlConnection(pubfunc.sConn);
string
container
=
Request.QueryString[
"
containerID
"
].ToString();
System.Guid guid
=
new
System.Guid(container);
SqlCommand com
=
new
SqlCommand();
com.Connection
=
conn;
SqlParameter containerId
=
com.Parameters.Add(
"
@id
"
, SqlDbType.UniqueIdentifier,
50
);
containerId.Value
=
guid;
com.CommandText
=
"
sp_job_selectjobsecontainer
"
;
com.CommandType
=
CommandType.StoredProcedure;
conn.Open();
SqlDataReader sdr
=
com.ExecuteReader();
if
(sdr.Read())
{
SetListSelected(sdr[
"
consize
"
].ToString());
TextBox2.Text
=
sdr[
"
conno
"
].ToString ();
TextBox3.Text
=
sdr[
"
sealno
"
].ToString();
TextBox4.Text
=
sdr[
"
billno
"
].ToString ();
}
conn.Close();
}
set
ANSI_NULLS
ON
set
QUOTED_IDENTIFIER
ON
go
ALTER
proc
[
dbo
]
.
[
sp_job_selectjobsecontainer
]
(
@id
UniqueIdentifier
)
as
begin
select
*
from
job_se_container
where
id
=
@id
;
end
;
查看全文
相关阅读:
js中==与===区别
Initialization failure 0x0000000c
Spring通过@Value注解注入属性的几种方式
java中读取配置文件中数据的具体方法
spring整合hibernate
url上参数解析笔记
编号的生成(日期+序列号)
application.xml & -servlet.xml
webApplicationContext 与servletContext
Http协议整理
原文地址:https://www.cnblogs.com/simhare/p/888875.html
最新文章
phpt文件说明
php实现四种排序算法
Python GUI tkinter窗口视窗学习3
Python GUI tkinter窗口视窗学习2
Python GUI tkinter窗口视窗学习1
websocket原生开发聊天室
node.js + websocket开发聊天室
爬虫 scrapy框架
微信小程序获取用户信息和openid
微信小程序前端传数据给后端
热门文章
微信小程序点击改变页面颜色
2020第十三届全国大学生信息安全创新实践大赛 z3
导出maven dependencies 里面的包
maven文件目录
office和window系统各种版本的分享
win10专业版激活
python二重装饰器初步理解
Ptyhon中join()函数用法
Notepad++配置Python开发环境
中国省市区地址三级联动jQuery插件 A simple jQuery plugin for picking provinces, cities and districts of China
Copyright © 2011-2022 走看看