标签: asp.net
wants to change value dynamically like it would be reflected from DB at run time... the code shown in image is in .aspx file
答案 0 :(得分:0)
您可以在代码后面声明一个受保护的变量。从数据库设置其值。
protected variable_name as string = "12, 45, 54"
在您的aspx文件中,您使用该变量,如
data: [<%= variable_name%>]