标签:
---HTML
<form action="/Sample/SampleList/ExportSample" style="display:inline">
<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);
}
标签:
原文地址:http://www.cnblogs.com/2260827114com/p/5280241.html