为什么我会收到此错误
Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.
Run Code Online (Sandbox Code Playgroud)
当我尝试使用sp_executesql?
我正在使用母版页,当我运行此页面时,它显示以下错误消息:
一个页面只能有一个服务器端表单标记
我怎么解决这个问题?
当我尝试创建这样的存储过程时:
create or replace
procedure USR_Trial
( auth out usrr.DEPARTMENT
)
AS
BEGIN
select authority_id
into auth
from usrr where user_id='G68EF610';
END USR_Trial;
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Error(2,1): PLS-00488: invalid variable declaration: object 'USRR.DEPARTMENT' must be a type or subtype
我怎样才能解决这个问题?
public CD[] GetCDCatalog()
{
XDocument docXML =
XDocument.Load(Server.MapPath("mydata.xml"));
var CDs =
from cd in docXML.Descendants("Table")
select new CD
{
title = cd.Element("title").Value,
star = cd.Element("star").Value,
endTime = cd.Element("endTime").Value,
};
return CDs.ToArray<CD>();
}
Run Code Online (Sandbox Code Playgroud)
我在页面加载时调用此函数即.string [] arr = GetCDCatalog(); 但这是错误无法隐式转换类型'Calender.CD []'到'string []'请Suggetst我如何调用页面加载函数返回类型是数组.
asp.net ×2
c# ×1
dynamic-sql ×1
master-pages ×1
oracle ×1
plsql ×1
sql ×1
sql-server ×1
t-sql ×1