Beispiel #1
0
    public string[] findCurrentCollectionPoint(string headid)
    {
        int        head            = Convert.ToInt32(headid);
        Department thatdept        = dhmanager.DHfindCurrentCollectionPoint(head);
        string     collectionpoint = thatdept.collectionpoint;

        string[] col = new string[] { collectionpoint };
        return(col);
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        IIdentity id = User.Identity;

        code = Convert.ToInt32(User.Identity.Name);
        if (!IsPostBack)
        {
            d1          = d.DHfindCurrentCollectionPoint(code);
            Label3.Text = d1.collectionpoint;
        }
    }