Ok, afther some time of messing around, I found a way to get only 1 colmn! Here is the way.
first of all we need to use ListFeed, so we can get complete rows. ListFeed is a collection that represnt the rows on the spreadsheet.
ListFeed row;
row.elements is a collection that represent the cells of the row.
so this is the way to get 1 colmn (based on the spreadsheet in the question):
public void GetWebsitesWithListFeed()
{
WorksheetEntry entry = //get your spreadsheet (expmples for this can be found
//in google docs api (link in the end of the answer)
// Define the URL to request the list feed of the worksheet.
AtomLink listFeedLink = entry.Links.FindService(GDataSpreadsheetsNameTable.ListRel, null);
// Fetch the list feed of the worksheet.
ListQuery listQuery = new ListQuery(listFeedLink.HRef.ToString());
ListFeed listFeed = service.Query(listQuery);
// Iterate through each row.
foreach (ListEntry row in listFeed.Entries)
{
//go over each CELL in the row
foreach (ListEntry.Custom element in row.Elements)
{
//print only the CELLS that there father (xmlName) is "WebsiteList2"
if (element.XmlName == "WebsiteList2")
Console.WriteLine(element.Value);
}
}
}
for info about getting the SpreadSheet and connection stuff go HERE.
this is only 1 way i found, i would like to know if somone know about a diffrent way to get a colmn base on his header.
(sorry for my english)