jsp代码 var rows =$('#findAllRolestable').datagrid('getSelections'); var result = JSON.stringify(rows); if(rows){ //去除两边的中括号 result=result.substring(1,result.length-1) //alert(result) $.ajax({ url: '<%=basePath%>user/addRoleAllRoles.do?user_no='+user_…
public static string CreateJsonParameters(DataTable dt) { /**/ /**/ /**/ /* /**************************************************************************** * Without goingin to the depth of the functioning of this Method, i will try to give an overview…