private void FillSoftwareTable(int configId) { var software = ConfigurationDAL.GetSoftwareByConfigId(configId); List <Tuple <string, string, string, string> > softwareList = new List <Tuple <string, string, string, string> >(); foreach (var soft in software) { softwareList.Add(new Tuple <string, string, string, string>(soft.id.ToString(), soft.name, soft.type, soft.producer)); } SoftwareGridView.DataSource = softwareList; SoftwareGridView.DataBind(); }