• 大小: 924KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-16
  • 语言: C#
  • 标签: sql  2005+  c#xingweiNew  

资源简介

新闻发布系统vs2008+ sql 2005+ c#xingweiNews.rar旭城联盟-专业技术团队, 积累了多年研发经验.手机:+86-15884655563 QQ:497420789,529721791 网址:http://xch.jcjsz.com

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Collections;

namespace BLL
{
  public class AdminBuiness
    {
      public IList admin() {
          return DataAccess.DataAccess.GetDB.Query(“select * from TB_USER“);
      }
      public string AddAdmin(string name_user string pwd_user) {
          if (DataAccess.DataAccess.GetDB.ExecuteNonQuery(“insert into TB_USER values(‘“ + name_user + “‘‘“ + pwd_user + “‘)“))
              return “添加用户成功!“;
          else
              return “添加用户失败!“;
      
      }
      public string UpdateAdmin(string name_user string pwd_user int id_user) {

          if (DataAccess.DataAccess.GetDB.ExecuteNonQuery(“update TB_USER set name_user=‘“ + name_user + “‘pwd_user=‘“ + pwd_user + “‘ where id_user=“ + id_user))
              return “更新成功!“;
          else
              return “更新失败!“;
      }
      public string DeleteAdmin(int id_user) {

          if (DataAccess.DataAccess.GetDB.ExecuteNonQuery(“delete from TB_USER where id_user=“ + id_user))
              return “删除成功!“;
          else
              return “删除失败!“;
      }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    3145728  2009-10-20 10:01  xingweiNews\DB_xch\NewsPublish.mdf

     文件    1048576  2009-10-20 10:01  xingweiNews\DB_xch\NewsPublish_log.ldf

     文件       4945  2007-07-18 09:38  xingweiNews\from.gif

     文件       1239  2009-10-17 20:21  xingweiNews\BLL\AdminBuiness.cs

     文件       7680  2009-10-20 09:18  xingweiNews\BLL\bin\Debug\BLL.dll

     文件      26112  2009-10-20 09:18  xingweiNews\BLL\bin\Debug\BLL.pdb

     文件       5632  2009-10-17 14:20  xingweiNews\BLL\bin\Debug\DataAccess.dll

     文件      13824  2009-10-17 14:20  xingweiNews\BLL\bin\Debug\DataAccess.pdb

     文件       3140  2009-10-18 21:32  xingweiNews\BLL\BLL.csproj

     文件        709  2009-10-16 22:05  xingweiNews\BLL\LoginBuiness.cs

     文件        811  2009-10-18 13:43  xingweiNews\BLL\NewsAddBuiness.cs

     文件        347  2009-10-18 22:09  xingweiNews\BLL\NewsSelect.cs

     文件       1222  2009-10-17 14:20  xingweiNews\BLL\NewsTypesBuiness.cs

     文件       1180  2009-10-20 09:16  xingweiNews\BLL\obj\Debug\BLL.csproj.FileListAbsolute.txt

     文件       7680  2009-10-20 09:18  xingweiNews\BLL\obj\Debug\BLL.dll

     文件      26112  2009-10-20 09:18  xingweiNews\BLL\obj\Debug\BLL.pdb

     文件       5458  2009-10-20 09:18  xingweiNews\BLL\obj\Debug\ResolveAssemblyReference.cache

     文件       1362  2009-10-16 19:05  xingweiNews\BLL\Properties\AssemblyInfo.cs

     文件        597  2009-10-18 15:38  xingweiNews\BLL\ShowNewsBuiness.cs

     文件       5632  2009-10-20 09:16  xingweiNews\DataAccess\bin\Debug\DataAccess.dll

     文件      13824  2009-10-20 09:16  xingweiNews\DataAccess\bin\Debug\DataAccess.pdb

     文件       2101  2009-10-16 22:15  xingweiNews\DataAccess\DataAccess.cs

     文件       2722  2009-10-17 19:44  xingweiNews\DataAccess\DataAccess.csproj

     文件        962  2009-10-20 09:16  xingweiNews\DataAccess\obj\Debug\DataAccess.csproj.FileListAbsolute.txt

     文件       5632  2009-10-20 09:16  xingweiNews\DataAccess\obj\Debug\DataAccess.dll

     文件      13824  2009-10-20 09:16  xingweiNews\DataAccess\obj\Debug\DataAccess.pdb

     文件       1376  2009-10-15 21:37  xingweiNews\DataAccess\Properties\AssemblyInfo.cs

     文件        130  2009-10-20 09:49  xingweiNews\WebUI\a.css

     文件       7680  2009-10-20 09:18  xingweiNews\WebUI\Bin\BLL.dll

     文件         50  2009-10-16 22:17  xingweiNews\WebUI\Bin\BLL.dll.refresh

............此处省略131个文件信息

评论

共有 条评论