开发者

How can i display stringBuilder objects as well as Arraystring in alert box in asp.net

开发者 https://www.devze.com 2022-12-30 13:38 出处:网络
when we store more than one string in ar开发者_运维问答raystring or in stringbuilder class objects.then how can we print it on alert box in asp.netSomething like this (register client script needs mor

when we store more than one string in ar开发者_运维问答raystring or in stringbuilder class objects.then how can we print it on alert box in asp.net


Something like this (register client script needs more parameters im sure).

Dim _script as String = String.Concat("<script type='javascript'>", _stringBuilder.ToString(), "</script>")
Page.RegisterClientScript(_script) 
0

精彩评论

暂无评论...
验证码 换一张
取 消