Web应用程序中的括号查询 [英] bracket query in Web application
本文介绍了Web应用程序中的括号查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的项目是编码系统...代码将通过数据库显示在文本框中...问题是我希望我的代码自动进入括号之间,即{} ....编码是什么生成这个?
for(int i = *,i< *)
{
? >>>这里是我的其他代码,如果是,那必须是自动的并且在括号内。
}
my project is coding system... the codes are to be shown in textbox through database... the problem is that i want my codes to automatically come in between brackets i.e. {}.... what is the coding to generate this?
for (int i=*, i<*)
{
? >>> here my code of else and if comes, that has to be automatic and comes within the brackets.
}
推荐答案
如果我理解你显然..你想要代码在forloop中是{code} ..所以你可以使用它?如果是这样的情况你不要将代码连接到括号
If I understand you clearly.. you want the code to be {code} in the forloop.. so you can use it? If thats the case y dont you concat the code to the brackets
for (int i=*, i<*)
{
code="{"+code+"}"
}
回复更多细节,以便我可以帮到你。
问候,
Ibrahim Karakira
Reply with more details so I can help you.
Regards,
Ibrahim Karakira
这篇关于Web应用程序中的括号查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文