You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
565 B
16 lines
565 B
<%@ Page Language="C#" Inherits="cs_sendcollection" Src="cs_sendcollection.aspx.cs"%>
|
|
<%@ Register TagPrefix="oajax" Namespace="OboutInc" Assembly="obout_AJAXPage" %>
|
|
<html>
|
|
<head runat="server">
|
|
<script language="JavaScript">
|
|
function SendCollection() {
|
|
var myCollection = new Array();
|
|
myCollection[0] = "Saab";
|
|
myCollection[1] = "Volvo";
|
|
myCollection[2] = "BMW";
|
|
|
|
var myCollectionParam = "";
|
|
for (i=0;i<myCollection.length;i++)
|
|
{
|
|
myCollectionParam += (myCollectionParam == "") ? myCollection[i] : "|" + myCollection[i];
|