MvcBug/Controllers/BuginfoController.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data;
using Common;
using System.Data.SqlClient;
using Common;
namespace MvcBug.Controllers
{
public class BuginfoController : Controller
{
//
// GET: /Buginfo/
public ActionResult Index()
{
if (Session["Name"] == null)
{
Response.Redirect("/Default/Login");
}
else
{
ViewData["Name"] = Session["Name"];
}
ViewData["softtypeDt"] = new DAL.QueryDAL().GetDataTable("softtype", "Id", "Id,Code,Name,Verno", "", "", "");
ViewData["employDt"] = new DAL.QueryDAL().GetDataTable("employ", "Id", "Id,Code,Name", "", "", "");
return View();
}
public ActionResult ZIndex()
{
return View();
}
[ValidateInput(false)]
public ActionResult add()
{
ViewData["softtype"] = new DAL.QueryDAL().GetDataTable("softtype", "Id", "Id,Code,Name,Verno", "", "", "");
ViewData["employDt"] = new DAL.QueryDAL().GetDataTable("employ", "Id", "Id,Code,Name", "", "", "");
return View();
}
public ActionResult show()
{
return View();
}
public string GetDataGridJson()
{
string pagesize = "10";
string curpage = "1";
int totalcount;
pagesize = string.IsNullOrEmpty(Request.Params["rows"]) ? pagesize : Request.Params["rows"];
curpage = string.IsNullOrEmpty(Request.Params["page"]) ? curpage : Request.Params["page"];
后面还有 125 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。