如何定义asp.net中定义Guid类型
这是我的存储过程其中两个参数
ALTER PROCEDURE [dbo].[SP_员工每日有效工作统计]
@userId uniqueidentifier,
@ReturnStr decimal(18,2) output
AS
在asp.net我调用它们我是这么写的
public decimal VerifyUser(Guid userId)
{
decimal result;
using (SqlConnection sqlconnect = new SqlConnection(ConnectString))
{
SqlCommand sqlcom = new SqlCommand("[dbo].[SP_员工每日有效工作统计] ",sqlconnect);
//sqlcom.CommandType = CommandType.StoredProcedure;
//sqlcom.CommandText = "SP_员工每日有效工作统计";
sqlcom.Parameters.Add(new SqlParameter("@userId");
sqlcom.Parameters.Add(new SqlParameter("@ReturnStr",SqlDbType.Decimal,18,2));
sqlcom.Parameters["@userId"].Value=userId;
sqlcom.Parameters["@ReturnStr"].Direction = ParameterDirection.Output;
 
相关问答:
select top 12 * from Product where [id] not in (select top 12 [id] from Product)
这样可以分页,但是我在后面想加个条件
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......
服务器现在是。net 2.0的
我现在的项目就是asp.net mvc + linq的,现在服务器的环境配置用不了。
不知道有前辈碰到过这样的问题没。
难道服务器必须要装.net3.5 和 asp.net mvc
请前辈指点
不装你认为你要怎么 ......
小弟搞ASP.NET也快2年了
但是架构问题一直都是用的别人架构好的
一直想自学架构
有介绍好书的没?
大家一起分享哈
感激不敬啊
sf
先学基本的吧《你必须知道的.NET》
迅雷上可以下的。
你必 ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
asp.net如何制作双语的网站 或者多语言的?以前没有接触过 希望了解的朋友给点思路和解决方案 谢谢了
看看
参考
做两个语言包
做一个中文的,拷贝一份,改改,英文版,就出来了,当然,普通的小企业站可 ......