账号通
    

账号  

密码  

1456

查看

1

回复
主题:[求帮助].NET 4.0 环境搭建好 后台就是字符串转换时间失败 [收藏主题]  
xiaolove 当前离线

160

主题

27

广播

0

粉丝
添加关注
级别:一年级

用户积分:1146 分
登录次数:169 次
注册时间:2012/5/22
最后登录:2024/2/25
xiaolove 发表于:2017/9/11 8:49:11   | 只看该作者 查看该作者主题 楼主 
做在线知识付费 选科汛云开店
从字符串转换日期和/或时间时,转换失败。
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.


Exception Details:
System.Data.SqlClient.SqlException: 从字符串转换日期和/或时间时,转换失败。

Source Error:


 Line 272:Line 273:                num = Utils.StrToInt(DataFactoryUser.GetOnlyValue("select count(1) From KS_User"));Line 274:                Response.Write(string.Format(@"<li title=""会员系统"">会员总数<span>{0}</span></li>", num > 0 ? @"<a href='../user/KS.User.aspx' class='has'>" + num + "</a>" : num.ToString()));Line 275:Line 276:             %>


这是个嘛问题呀,—— 能否帮着解决一下呀,  

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
freecms 当前离线

331

主题

1

广播

0

粉丝
添加关注
级别:三年级

用户积分:393 分
登录次数:32 次
注册时间:2015/10/21
最后登录:2020/2/20
freecms 发表于:2017/9/12 16:01:37   | 只看该作者 查看该作者主题 沙发 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.10938秒 powered by KesionCMS 9.0