protected void DeleteAppDataSource_Click(object sender, ImageClickEventArgs e)
    {
        Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID];
        Util util = new Util();
        if (util.CheckSessionTimeout(State, Response, "../Default.aspx")) return;

        DataSources DS = new DataSources();
        string data_source_id = AppDataSources.Text.Substring(0,AppDataSources.Text.IndexOf(" ("));
        DS.DeleteAppDataSource(State, data_source_id);
        LoadData();
    }