摘要:
后台核心代码: public JObject Get(int a, int b) { var jo = new JObject(); jo.Add("sum", a + b); return jo; } 前台核心代码: @{ Layout = null; } <!DOCTYPE html> <htm 阅读全文
2022年3月24日 #
2022年3月23日 #
摘要:
后端核心代码: public JObject Get(int a, int b) { var jo = new JObject(); jo.Add("sum", a + b); return jo; } 前端核心代码: @{ ViewBag.Title = "Ajax-WebApi-加法演示"; } 阅读全文
摘要:
控制器: public ActionResult CalSum(string FirstNum,string SecondNum) { int iFirst, iSecond, iSum; iFirst = int.Parse(FirstNum); iSecond = int.Parse(Secon 阅读全文
2020年10月27日 #
摘要:
具体步骤 A.点击 工具栏 齿轮 图标,打开 选项 界面: 默认情况下,排行榜每页人数为8人,通过特殊配置,最多可以实现每页20人. 假设你把 排行榜和奖项 每页最多人数:8 修改成 12 . B.然后,直接切换到软件【比赛打分展示双屏管理系统-PC管理端\PPT文件或模板\H-后期环节PPT自定义 阅读全文
2020年7月27日 #
摘要:
1.用Python做网络爬虫,一般需要哪两个步骤?而且需要哪些库的辅助?这些库有什么作用?参考教材P2622.使用字典格式,对一个学生的成绩进行文件读写?参考博客:https://www.cnblogs.com/exesoft/p/13354273.html 阅读全文
2020年7月21日 #
摘要:
字典写入json文件中: import json stu_mark={} stu_mark["Name"]=input("Name=") stu_mark["English"]=float(input("English=")) stu_mark["Music"]=float(input("Music 阅读全文
2020年7月16日 #
摘要:
import re from bs4 import BeautifulSoup htmlDoc='''<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edg 阅读全文
2020年7月13日 #
摘要:
1.用Asp.net Form技术创建一个简单的加法应用。 前台代码: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddDemo.aspx.cs" Inherits="AddDemo" %> <!DOCTYPE html> <ht 阅读全文
2020年7月10日 #
摘要:
use WebShowDBAlter go 1 declare @str nvarchar(50) select @str=DodgeRaterID from Student where ID='03' select dbo.Get_StrArrayStrOfIndex(@str,',',3) 2 阅读全文