首页 > 编程知识 正文

js数组字符串转数组,前端字符串转数组

时间:2023-05-04 00:50:31 阅读:53535 作者:4521

WebForm2.aspx

% @ page language=' c# ' autoeventwireup=' true ' code behind=' web form2. aspx.cs ' inherits=' web application5. web FFE XHTML ' head runat=' server ' meta http-equiv=' content-type ' connat charset=utf-8 '/title c #.Nene

用户系统; using system.collections.generic; using System.Linq; using系统. web; using系统. web.ui; using system.web.ui.web控制; namespacewebapplication5{ publicpartialclasswebform 23360 system.web.ui.page } protectedvoidpage _ load (字符串[ ] string ) //字符串转换数组Response.Write ('字符串转换数组br/' ); Response.Write ('数组下标为1的值: ' strArray[1] 'br/' ); str=string.Empty; str=string.Join (',',strArray ); //数组转换字符串response.write(p数组转换字符串/p ); response.write(str; } }

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。