• 大小: 13KB
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2024-01-26
  • 语言: C#
  • 标签: 星座  生肖  

资源简介

这个里面是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 < vlist.Length; i++)
                    {
                        

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-04-04 13:48  根据农历获取星座和生肖等信息\
     文件       40266  2019-03-28 15:47  根据农历获取星座和生肖等信息\ArchivebaseInfo.aspx
     文件       17422  2019-03-28 15:51  根据农历获取星座和生肖等信息\ArchivebaseInfo.aspx.cs
     文件       16818  2019-03-27 15:32  根据农历获取星座和生肖等信息\ArchivebaseInfo.aspx.designer.cs

评论

共有 条评论