public void AddHelpInfo(HelpInfo helpInfo) { throw new NotImplementedException(); }
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; }