Thursday, April 29, 2010

CAML Query to show current month and next month

------------current month------------

"

"
------------next month------------

we could hve used if we had to show just current month
else calculation for next month is not know using tag
------------Just current month------------

Tuesday, April 20, 2010

SharePoint Notes Or Questions

1) What is SharePoint?
Microsoft Office SharePoint Server 2007 is an integrated suite of server providing comprehensive content management, enterprise search, collaboration environment, shared business processes, and Business Intelligence.
2) Application pages vs Site pages
Application pages are Admin pages like the Site Settings page you get.
All the opther pages you create are Site pages.
3) Ghosted vs UnGhosted
Ghosted means un-customized residing on file system.
UnGhosted means customized residing in Content Db.
4) SPSite vs SPWeb
SPSite represents Site Collection and SPWeb represents a website
within a particular site collection.
String str;
using(SPSite oSPsite = new SPSite("http://server"))
{
using(SPWeb oSPWeb = oSPSite.OpenWeb())
{
str = oSPWeb.Title;
str = oSPWeb.Url;
}
}