如何在asp.net中添加字符串构建器命名空间? [英] how to add string builder namespace in asp.net?
本文介绍了如何在asp.net中添加字符串构建器命名空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp.net中添加字符串构建器命名空间????我可以添加c#.net但我不能在asp.net!请任何人帮助我???
解决方案
使用系统。文本;
在asp.net中使用字符串生成器
首先使用System添加到您的类.Text
第二次添加到你的代码var myStringBuilder = new StringBuilder();
如果失败,请检查您的引用
String Builder的名称空间
使用System。文本;
how to add string builder namespace in asp.net???? i can add in c#.net but i can't in asp.net!!! pls any one help me???
解决方案
using System.Text;
To use the string builder in asp.net
First add to your classusing System.Text
Second add to your codevar myStringBuilder = new StringBuilder();
if that fails check your references
name space for String Builder
using System.Text;
这篇关于如何在asp.net中添加字符串构建器命名空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文