//private void GetbakBind()
    //{
    //    string path = Server.MapPath("~\\DataFile");
    //    List<FileInfo> listfList = GetAllFilesInDirectory(path);
    //    DataTable dtTable = new DataTable();
    //    dtTable.Columns.Add("Name");
    //    dtTable.Columns.Add("CreationTime");
    //    dtTable.Columns.Add("DirectoryName");
    //    for (int i = 0; i < listfList.Count; i++)
    //    {
    //        DataRow dr = dtTable.NewRow();
    //        dr["Name"] = listfList[i].Name;
    //        dr["CreationTime"] = listfList[i].CreationTime;
    //        dr["DirectoryName"] = listfList[i].DirectoryName;
    //        dtTable.Rows.Add(dr);
    //    }
    //    if (listfList != null && listfList.Count > 0)
    //    {
    //        gridplstore.DataSource = dtTable;
    //        gridplstore.DataBind();
    //    }

    //}



    ///// <summary>
    ///// 返回指定目录下的所有文件信息
    ///// </summary>
    ///// <param name="strDirectory"></param>
    ///// <returns></returns>
    //public List<FileInfo> GetAllFilesInDirectory(string strDirectory)
    //{
    //    List<FileInfo> listFiles = new List<FileInfo>(); //保存所有的文件信息  
    //    try
    //    {
    //        DirectoryInfo directory = new DirectoryInfo(strDirectory);
    //        DirectoryInfo[] directoryArray = directory.GetDirectories();
    //        FileInfo[] fileInfoArray = directory.GetFiles();
    //        if (fileInfoArray.Length > 0) listFiles.AddRange(fileInfoArray);
    //        foreach (DirectoryInfo _directoryInfo in directoryArray)
    //        {
    //            DirectoryInfo directoryA = new DirectoryInfo(_directoryInfo.FullName);
    //            DirectoryInfo[] directoryArrayA = directoryA.GetDirectories();
    //            FileInfo[] fileInfoArrayA = directoryA.GetFiles("*.bak");
    //            if (fileInfoArrayA.Length > 0) listFiles.AddRange(fileInfoArrayA);
    //            GetAllFilesInDirectory(_directoryInfo.FullName);//递归遍历  
    //        }
    //    }
    //    catch
    //    {
    //        ExtNet.Msg.Alert("系统提示", "还是这里报错了").Show();
    //    }

    //    return listFiles;
    //} 
    #endregion


    protected void btnbak_DirectClick(object sender, Ext.Net.DirectEventArgs e)
    {
        Winadd.Show();
    }
 protected void btnWinCancel_DirectClick(object sender, DirectEventArgs e)
 {
     Winadd.Hide();
 }
 /// <summary>
 /// 增加部门--弹出窗口
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void btnAdd_DirectClick(object sender, DirectEventArgs e)
 {
     Winadd.Show();
 }
 public void DoYesSSS()
 {
     Winadd.Hide();
 }
 protected void btnAdditemCanc_DirectClick(object sender, DirectEventArgs e)
 {
     Winadd.Hide();
 }