How to modify Content Type once it is deployed?

Once the Content Type is deployed it is very difficult to modify them via Feature deployment. Once the Content Type is being used by any of the object in SharePoint, it’s difficult to modify that Content Type without deleting the associate content. For Example, There is a Page Layout (let’s name it as SamplePL) which is…

1

How to use CAML query to fetch data from a list?

Here is the CAML Query: <Where>       <Eq>          <FieldRef Name=”Title” />          <Value Type=”Text”>title</Value>       </Eq> </Where>   I am using object model from my Webpart to load this CAML query and get the results back: SPList list = web.Lists[“ListName”]; SPQuery spQuery = new SPQuery(); spQuery.Query = “” //CAML Query String from the Top;…

3