摘要:
安装以下组件: .NET Core 2.0.0 SDK 或更高版本。 已安装 ASP.NET 和 Web 开发工作负载的 Visual Studio 2017 15.3 版或更高版本。 1.添加数据模型 在解决方案资源管理器中,右键单击“RazorPagesMovie”项目 >“添加” > “新建文 阅读全文
摘要:
string tys = ""; for (int i = 0; i < typeList.Count; i++) { if (typeList[i] != -1) { tys = typeList[i] + ","; } else { tys = ""; break; } } tys = tys. 阅读全文
摘要:
$(function () { $("#selectAll").change(function () { if ($(this).prop("checked")) { $(".newsId-check").each(function () { $(this).prop("checked", true 阅读全文
摘要:
<td class="tddata"> <% if (aq == 1) { model.NoticeType = 1; } %> <%--<select id="txtClassId" name="txtClassId" onchange="seleTypeImg()"> <% foreach (H 阅读全文
摘要:
var state=false; function Insert(type) { // 判断选中的是待使用 还是已经在使用 var checkedWait = $("input[class='newsId-wait']:checked"); var wl = checkedWait.length; 阅读全文
摘要:
private bool Execute4NewsPublicTypes(int id, List<int> newsTypes) { bool ret = false; List<CommandInfo> strSqlNewsTypes = new List<CommandInfo>(); try 阅读全文
摘要:
1.CSS <style type="text/css"> body { margin:0;padding:0;overflow:hidden;} #mainDiv { height:100%;width:100%;position:absolute;} </style> 2.JS <script 阅读全文
摘要:
private static char[] randRonstant = { '0','1','2','3','4','5','6','7','8','9','0', 'a','b','c','d','e','f','g','h','i','j','k 阅读全文
摘要:
/// <summary> /// 批量插入用户配置 /// </summary> /// <param name="connectionString">目标连接字符</param> /// <param name="TableName">目标表</param> /// <param name="d 阅读全文
摘要:
1.Stream 转换为 MemoryStream(Stream不支持查找) MemoryStream StreamToMemoryStream(Stream instream) { MemoryStream outstream = new MemoryStream(); const int buf 阅读全文