后台Cs写法
string keyword = basic.GuanJianZi;
string[] a = keyword.Split(new char[] { '\n' });
Repeater2.DataSource = a;
Repeater2.DataBind();
前台
<asp:Repeater ID="Repeater2" runat="server">
<ItemTemplate>
<tr>
<td height="24" align="left">· <a href="Sear_Com.aspx?KeyWord=<%#GetDataItem() %>"><%#GetDataItem()%></a></td>
</tr>
</ItemTemplate>
</asp:Repeater>