diff --git "a/\345\220\264\344\275\263\346\225\217/20241127\350\257\276\345\240\202\347\254\224\350\256\260.md" "b/\345\220\264\344\275\263\346\225\217/20241127\350\257\276\345\240\202\347\254\224\350\256\260.md" new file mode 100644 index 0000000000000000000000000000000000000000..7fccbc4a482a27923bad37cd63f00680dd11a4a1 --- /dev/null +++ "b/\345\220\264\344\275\263\346\225\217/20241127\350\257\276\345\240\202\347\254\224\350\256\260.md" @@ -0,0 +1,4 @@ +# 随机数 +![](./imgs/11-26(生成随机数)/1.PNG) +![](./imgs/11-26(生成随机数)/2.PNG) +![](./imgs/11-26(生成随机数)/3.PNG) diff --git "a/\345\220\264\344\275\263\346\225\217/20241129\350\257\276\345\240\202\347\254\224\350\256\260--\346\250\241\346\213\237\346\225\260\346\215\256\345\272\223.md" "b/\345\220\264\344\275\263\346\225\217/20241129\350\257\276\345\240\202\347\254\224\350\256\260--\346\250\241\346\213\237\346\225\260\346\215\256\345\272\223.md" new file mode 100644 index 0000000000000000000000000000000000000000..1fcc73f7841b06f3ae7cc7c64c1cb07ecad6ada7 --- /dev/null +++ "b/\345\220\264\344\275\263\346\225\217/20241129\350\257\276\345\240\202\347\254\224\350\256\260--\346\250\241\346\213\237\346\225\260\346\215\256\345\272\223.md" @@ -0,0 +1,25 @@ +# 静态类型模拟数据库 +1. 建数据表 public List<类型>表名{get;set;} +2. 初始化 static 数据库类名(){ + + 表名=new List<类型>() + a.定义一个对象来存储初始化的数据 + eg:var tmp=new类型{ + 属性1=属性值1, + 属性2=属性值2 + 。。。 + } +} +3. 在返回的视图中渲染数据 + a.@Model 声明的类型---如果我们上面声明返回的是list列表,那么在model引用时应该加上list + +# 一些知识 + +
+return RedirectToAction('网页名')---跳转回某网页 + +# 作业 +![](./imgs/11-28/Model.png) +![](./imgs/11-28/1.png) +![](./imgs/11-28/2.png) +![](./imgs/11-28/3.png) diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/1.PNG" "b/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/1.PNG" new file mode 100644 index 0000000000000000000000000000000000000000..6ef2087d004fc564d75fa1420f67ffa88048e2db Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/1.PNG" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/2.PNG" "b/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/2.PNG" new file mode 100644 index 0000000000000000000000000000000000000000..6598ca4b99d8626d59646b43561369d54109a4a6 Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/2.PNG" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/3.png" "b/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/3.png" new file mode 100644 index 0000000000000000000000000000000000000000..0bf1611267caa4dbafc7d071a30c1330556874b6 Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/11-26\357\274\210\347\224\237\346\210\220\351\232\217\346\234\272\346\225\260\357\274\211/3.png" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/11-28/1.png" "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/1.png" new file mode 100644 index 0000000000000000000000000000000000000000..bf668147a78fafc28c1fcb38133393666123e68c Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/1.png" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/11-28/2.png" "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/2.png" new file mode 100644 index 0000000000000000000000000000000000000000..824115e0d9d1a406888dae25c970fec5f949e664 Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/2.png" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/11-28/3.png" "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/3.png" new file mode 100644 index 0000000000000000000000000000000000000000..5cc83f0c4bd2023baf032f8bd01146780bacc2aa Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/3.png" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/11-28/Model.png" "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/Model.png" new file mode 100644 index 0000000000000000000000000000000000000000..4272c1b00fa51c049c0d94b2a1002d31f9ae8f6e Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/11-28/Model.png" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/image.png" "b/\345\220\264\344\275\263\346\225\217/imgs/image.png" new file mode 100644 index 0000000000000000000000000000000000000000..5cc83f0c4bd2023baf032f8bd01146780bacc2aa Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/image.png" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/2.PNG" "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/2.PNG" new file mode 100644 index 0000000000000000000000000000000000000000..7a0bb806fbfd99a031b621e191945c77eb7ac8ea Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/2.PNG" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/4.png" "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/4.png" new file mode 100644 index 0000000000000000000000000000000000000000..47853c6e702136177a49894a2da570f98396998d Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/4.png" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\344\274\240\345\217\202.PNG" "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\344\274\240\345\217\202.PNG" new file mode 100644 index 0000000000000000000000000000000000000000..49fb784062f3f50cb63ba8443de5d90915f02807 Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\344\274\240\345\217\202.PNG" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\347\233\264\346\216\245\350\277\224\345\233\236\345\217\202\346\225\260.PNG" "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\347\233\264\346\216\245\350\277\224\345\233\236\345\217\202\346\225\260.PNG" new file mode 100644 index 0000000000000000000000000000000000000000..502a1b190900e7f1120876f1130779cafba60b1d Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\347\233\264\346\216\245\350\277\224\345\233\236\345\217\202\346\225\260.PNG" differ diff --git "a/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\350\247\206\345\233\276\350\277\224\345\233\2361.PNG" "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\350\247\206\345\233\276\350\277\224\345\233\2361.PNG" new file mode 100644 index 0000000000000000000000000000000000000000..6689cc528a43a8a2a955d65b7ec9d80246877abf Binary files /dev/null and "b/\345\220\264\344\275\263\346\225\217/imgs/\350\277\224\345\233\236\345\217\202\346\225\260/\350\247\206\345\233\276\350\277\224\345\233\2361.PNG" differ