Custom Webpart – Inserts items into sharepoint custom list

Here is the simple custom webpart which inserts items into (Title, Employee Name, Designation) Sharepoint custom list, before executing the webpart first of all you have to create custom list and required fields manually through UI as said below:

Create a custom list, name it as Custom List (you can also choose different name, but make sure to modify the same in the code Continue reading…

Form Based Authentication in Sharepoint 2007

Steps to configure Form based authentication in MOSS 2007:

  • Creating the SQL database
  • Creating the users in SQL database
  • Creating two sharepoint sites (one is web application and other extending the web application)
  • Configure membership, role provider and connection string in both web.config files of the Sharepoint site
  • Configure authentication type in central administration Continue reading…