如何在RadioButtonList中添加新行? [英] How to add new line in RadioButtonList?

查看:61
本文介绍了如何在RadioButtonList中添加新行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ASP.Net网页中使用RadiButtonList。

我的1个列表项是这样的:

< asp:ListItem> 10 * 25 *
30 * 55 * 110

此项目是c ++程序的输出。所以,它必须是这样的

10 * 25 *

30 * 55 * 110

但RadioButton停止使用


有没有办法在列表项之间插入中断?

I am using a RadiButtonList in my ASP.Net webpage.
My 1 List Item is like this:
<asp:ListItem> 10*25*
30*55*110
This Item is output of a c++ program. So, it has to be like this
10*25*
30*55*110
But RadioButton stops working with
.
Is there any way to insert break between a list item?

推荐答案

替换原来的换行符(可能是\r或\ n或其组合)< br />
Replace the original line breaks (likely \r or \n or a combination thereof) by <br />.


这篇关于如何在RadioButtonList中添加新行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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