App_Code/SubjectBuildClass.cs

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

/// <summary>
/// SubjectBuildClass 的摘要说明
/// </summary>
public class SubjectBuildClass
{
    DBClass dbObj = new DBClass();
	public SubjectBuildClass()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
	}
    /// <summary>
    /// 获取教师的教学业务信息
    /// </summary>
    /// <returns>SqlCommand对象</returns>
    public SqlCommand GetASLCmd()
    {
        SqlConnection myConn = dbObj.GetConnection();
        SqlCommand myCmd = new SqlCommand("Proc_GetAllSLInfo", myConn);
        myCmd.CommandType = CommandType.StoredProcedure;
        //执行过程
        myConn.Open();
        try
        {
            myCmd.ExecuteNonQuery();
        }
        catch
        {
            myCmd.Dispose();
            myConn.Close();

        }
        myCmd.Dispose();
        myConn.Close();
        return myCmd;

    }
    //=============================================================
    // 方 法 名: GetSSLCmd()
    // 功能描述: 获取SqlCommand(以教员的身份进入,显示教师的教学工作资料)
    // 输入参数:
    // 返 回 值: 返回SqlCommand
    // ==============================================================
    public SqlCommand GetSSLCmd(int P_Int_owner)
    {
        SqlConnection myConn = dbObj.GetConnection();
        SqlCommand myCmd = new SqlCommand("Proc_GetSelfSLInfo", myConn);
        myCmd.CommandType = CommandType.StoredProcedure;
后面还有 239 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。