資源簡介
這個里面是c#源碼,有根據出生日期得到星座和生肖以及農歷詳細信息等

代碼片段和文件信息
using?EQCCD;
using?HR_Core.BLL;
using?HR_Core.BLL.Archive;
using?System;
using?System.Collections.Generic;
using?System.Data;
using?System.Linq;
using?System.Web;
using?System.Web.UI;
using?System.Web.UI.WebControls;
namespace?HR.Archives
{
????public?partial?class?ArchivebaseInfo?:?Common.Pagebase
????{
????????public?string?ArcID;
????????public?int?iUserID?=?0;
????????public?string?linkInfo;
????????public?string?sImgUrl;
????????public?string?tempsImgUrl;
????????public?string?workExpenrice;
????????public?string?smallImgsUrl;
????????public?string?bigImgsUrl;
????????protected?string?YearLan
????????{
????????????get
????????????{
????????????????return?Common_Core.baseData.LanguageManager.GetText(“Year“);
????????????}
????????}
????????protected?string?MonthLan
????????{
????????????get
????????????{
????????????????return?Common_Core.baseData.LanguageManager.GetText(“Month“);
????????????}
????????}
????????protected?void?Page_Load(object?sender?EventArgs?e)
????????{
????????????ArcID?=?Request.QueryString[“id“];
????????????if?(Page.IsPostBack)
????????????{
????????????????return;
????????????}
????????????BindData();
????????}
????????private?void?BindData()
????????{
????????????DataRow?dr?=?ArchivePolymerizationMgr.GetUserInfo(ArcID);
????????????iUserID?=?0;
????????????sImgUrl?=?tempsImgUrl?=?““;
????????????if?(dr?!=?null)
????????????{
????????????????this.txtUserName.Text?=?this.ltlName.Text?=?dr[“sName“].ToString();
????????????????this.txtEmpID.Text?=?ltlEmpNO.Text?=?dr[“sEmp_ID“].ToString();
????????????????this.txtSta.Text?=?dr[“iSuspend“].ToString();
????????????????sImgUrl?=?tempsImgUrl?=?dr[“sHeadImg“].ToString().Split(‘‘)[0];
????????????????iUserID?=?dr[“FK_UserID“].Parse(0);
????????????}
????????????List?ImgAndVideoList?=?ArchivePolymerizationMgr.GetImgAndVideo(iUserID.ToString());
????????????string[]?bigImgs?=?new?string[10];
????????????string[]?smallImgs?=?new?string[10];
????????????int?imgCount?=?0;
????????????int?m?=?0;
????????????if?(ImgAndVideoList.Count?>?0)
????????????{
????????????????string?str?=?string.Empty;
????????????????string?smallImg?=?ImgAndVideoList[2];
????????????????string?bigImg?=?ImgAndVideoList[0];
????????????????string[]?vlist?=?bigImg.Split(‘‘);
????????????????string[]?vList1?=?smallImg.Split(‘‘);
????????????????//?string[]?bigImgs=new?string[vlist.Length];
????????????????//??string[]?smallImgs?=?new?string[vList1.Length];
????????????????imgCount?=?vlist.Length;
????????????????if?(string.IsNullOrEmpty(bigImg))
????????????????{
????????????????????bigImgs[0]?=?“
“;
????????????????????smallImgs[0]?=?“
“;
????????????????}
????????????????else
????????????????{
????????????????????for?(int?i?=?0;?i?????????????????????{
????????????????????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-04-04?13:48??根據農歷獲取星座和生肖等信息\
?????文件???????40266??2019-03-28?15:47??根據農歷獲取星座和生肖等信息\Archiveba
?????文件???????17422??2019-03-28?15:51??根據農歷獲取星座和生肖等信息\Archiveba
?????文件???????16818??2019-03-27?15:32??根據農歷獲取星座和生肖等信息\Archiveba
- 上一篇:C#在線網絡售票程序
- 下一篇:Web實訓網站C#新聞發布系統
評論
共有 條評論