asp评级系统错误 [英] asp rating system error

查看:76
本文介绍了asp评级系统错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单使用JavaScript,CSS在ASP.NET中设计评级的方法 [ ^ ]



本文内容如何获取c#代码中的标签值

i使用tableie.text.tostring()但只得到空值..任何想法?

Simple way to Design Rating in ASP.NET using JavaScript, CSS[^]

in this article how get the label value in c# code
i use tableie.text.tostring() but get only null value.. any idea?

推荐答案

如果通过javascript设置一些值,则无法使用简单的控件属性在服务器端访问值。您可以将请求数组中的值发回服务器。



If you set some values through javascript that values cannot be accessed on server side using simple control properties. You can get the values in the request array post back to server.

string strs = (Request["lblRate"] == null) ? lblRate.Text.ToString() : Request["lblRate"].ToString();







试试这个。




try this.


这篇关于asp评级系统错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆