App_Code/component/lyb.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections ;
namespace Hr.component
{
public class lyb : DatabaseOperation
{
public lyb()
{
}
public static DataSet GetLyb()
{
strSQL = "SELECT * FROM lyb";
try
{
return ExecuteReturnDS(strSQL);
}
catch
{
throw new Exception("获取所有留言信息失败!");
}
}
public DataRow GetLYBDetail(int id)
{
string strsql;
DataSet myDs;
try
{
strsql = "select * from lyb where Id= " + id;
myDs = ExecuteReturnDS(strsql);
return myDs.Tables[0].Rows[0];
}
catch (System.Data.SqlClient.SqlException er)
{
throw new Exception(er.Message);
}
}
public void UpdaaLyb(string id, string HuiFu)
{
strSQL = "Update lyb set HuiFu='" + HuiFu + "' Where Id= " + id;
try
{
ExecuteReturnDS(strSQL);
}
catch
{
throw new Exception("修改成功!");
}
}
public static void AddLyb(string title, string nr)
{
后面还有 32 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。