Exemplo n.º 1
0
 public void AddHelpInfo(HelpInfo helpInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 2
0
 public List<HelpInfo> GetListHelpInfo()
 {
     List<HelpInfo> listHelpInfo = new List<HelpInfo>();
     DbDataReader reader = null;
     reader = PysDataBase.GetDataReader("select * from sitecontent");
     if (reader != null)
     {
         while (reader.Read())
         {
             HelpInfo helpInfo = new HelpInfo();
             helpInfo.Name = reader["m_name"].ToString(); ;
             helpInfo.ChineseName = reader["c_name"].ToString();
             listHelpInfo.Add(helpInfo);
         }
         reader.Close();
         reader.Dispose();
     }
     return listHelpInfo;
 }