• 2023-12-07jexcel_将excel数据导入到页面+导入到数据(SQL)
    1. jexcel_数据表_excel导入到页面.aspx<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="jexcel_数据表_excel导入到页面.aspx.cs"Inherits="jexcel_数据表_excel导入到页面"%><!DOCTYPEhtml><htmlxmlns="http://www
  • 2023-11-21jexcel_问题点排除
    1.修改页面后,点刷新,数据没有存入数据库?  1.1  *.ashx文档中存在错误代码(红色标识) 2.jexcel数据表没有出现?  2.1javascript中changed事件必须写在jspreadsheet(document.getElementById('spreadsheet')之前  重要! 3.jexcel数据表格式与以往不同?3.1
  • 2023-06-14jexcel_删除行并同步数据库
    写在*.aspx中1//删除行OK2varmyDeleteRow=function(){3varDBID=document.getElementById("my_textbox").value;4//vartempConfirm=confirm("DBID为:"+DBID);//弹出确认框5vartempConfirm=confir
  • 2023-06-14jexcel_增加行并同步数据库
    写在*.aspx中1//增加行OK2varaddRow=function(){3varfieldName="type";//字段名4varmodifyValue="请输入";//值5//vartempConfirm=confirm("modifyValue:"+modifyValue+"
  • 2023-06-14jexcel_最简单的框架
    1. 固定数据的jexcel框架<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="test.aspx.cs"Inherits="web_page_ssc_test"%><!DOCTYPEhtml><htmlxmlns="http://www.w3.org/1999/xhtml"><
  • 2023-05-05jexcel_将excel数据导入到页面
    jexcel_将excel数据导入到页面    还需解决的课题:下载jszip.js和xlsx.js<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="有效代码_将excel数据导入到网页.aspx.cs"Inherits="Default2"%><!DOCTYPEhtml><htmlxmlns="
  • 2023-04-07C# SQL JEXCEL 增删改查
    Handler1.ashx(用一般程序连接数据库)1<%@WebHandlerLanguage="C#"Class="Handler1"%>23usingSystem;4usingSystem.Web;5usingSystem.Data;6usingSystem.Data.SqlClient;//数据库7usingNewtonsoft.Json;//操作json库89