I am using the following Caml Query to get data from a share point list.
oSb.Append(" <OrderBy>")
oSb.Append(" <FieldRef Name=""Title"" />")
oSb.Append(" </OrderBy>")
But this query is giving me all columns of list.
Is there any way to get only desired column from a share point list using Caml Query?
Please help me.
Take a look at the MSDN article about View Fields. You can specify those fields before running your CAML query.