protected void Page_Load(object sender, EventArgs e) { string[] chi = { "sara","mathew" }; Page.ClientScript.RegisterArrayDeclaration("chi", chi.ToString()); }
<script type="text/javascript"> function pp() { try { var iChi = new Array(10); for (var i = 0; i <chi.length; i++) { iChip.push(chi[i]); } Rdr.CreatePrint(2,iChi); } catch (Err) { alert(Err.description); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)