First we think that there should be some object like SPSurvey just same as Document library list SPDocumentLibrary, but sadly that object is not there.
But rather than thinking long we can access Survey same as simple list as SPList only :)
Simple…
But what we found is somewhat new to everyone, at least for us.
SharePoint Survey is storing data in reverse manner as what we think.
Each question that we are entering for survey is created as column and all the answer stored as row value.
Let’s show you Example
Question of survey is : Do you like this?
Answer choice (in radio button or dropdown) are : Yes, No, Don’t know
So you will get SPList.Items.GetDatatable(); like below
So it’s a little confusing right.
But anyway that will help you whether you should take any task to work on Survey programmatically or not?