---HTML

<form action="/Sample/SampleList/ExportSample" style="display:inline"  method="post">

<input type="hidden" id="vguidList" name="vguidList" />
<input type="submit" value="Export" class="labbtn" onclick="sampleclick()" />

</form>

---JS

$("#vguidList").val(JSON.stringify(vaguidList));

--后台

public void ExportSample(string vguidList)
{

var data = vguidList.Substring(1,vguidList.Length-2);
_sampleLocationDataService.Export(data);
}

04-14 04:47