- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 ASP.NET .apk文件无法下载的问题(IIS)
首先需要配置建立新的MIME类型;扩展名是:.apk MIMI类型是:application/vnd.android.package-archive或者 .apk MIMI类型是: application/octet-stream其次需要在Web.config文件中配置节点system.webServer》 <modules runAllManagedModulesForAllRequests="true" />最后重启IIS网站就可以了<system.webS...
2022-01-02 14:46:08 425
原创 ASP.NET MD5 加密
//小写 public static string GetMD5(string str) { byte[] b = System.Text.Encoding.Default.GetBytes(str); b = new System.Security.Cryptography.MD5CryptoServiceProvider().ComputeHash(b); string md5r = ""; ...
2021-12-21 17:33:53 382
原创 ASP.NET 弹出窗口(提示信息)
Response.Write("<script language='javascript'>alert('弹出信息!');</script>"); //提示信息
2021-11-30 18:22:12 1862
原创 ASP.NET DBHelper(简单)
using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Configuration;using System.Linq;using System.Text;using System.Threading.Tasks;using NJ.BLL;using System.Data;namespace NJ.DAL{ public class DBHelper ...
2021-11-13 17:43:04 1102
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人