How can I see the values, and how can I call them from code?
When I'm calling like this, what sort of name type am I using?:
SPWeb witryna = SPContext.Current.Web;
SPListItemCollection listaDniNaProjektDropDownList = witryna.Lists["Szczegoly"].Items;
foreach (SPListItem oListaDniUrlopu in listaDniNaProjektDropDownList)
{
index = oListaDniUrlopu["Pracownik"].ToString().IndexOf("#");
DropDownList1.Items.Add((oListaDniUrlopu["Pracownik"].ToString().Substring(index + 1)));
}