mioreport.Database.Tables[0].Location = mioreport.Database.Tables[0].Location.Substring(mioreport.Database.Tables[0].Location.LastIndexOf(".")+1);