I has this Code:
var query3 = new SPQuery();
query3.Query = "<Where><Eq><FieldRef Name='Dzien' /><Value Type='DateTime'>" + e.Day.Date.ToShortDateString() + "</Value></Eq></Where>";
SPListItemCollection poszczególnyDzien = witryna.Lists["Szczegoly"].GetItems(query3);
int sumaProcentow = 0;
foreach (SPListItem oDzienSzczegolowy in poszczególnyDzien)
{
int index;
index = oDzienSzczegolowy["Procenty"].ToString().IndexOf("#");
string procentKolejny = Convert.ToString(oDzienSzczegolowy["Procenty"]).Substring(index + 1,1);
Hoe to call on this field by Display Names, and Internal Names ?