You have carefully developed a workflow with Visual Studio. Deployment and testing go smoothly on your dev machine. Some weeks or months later, the business requests some changes to the workflow. You implement the required changes and again deployment and testing (on your dev machine) also work fine. Now you try to upgrade the version you have on the production environment. And then the nightmare of versioning workflows begins…
Creating Wiki Pages Programmatically In SharePoint
I still remember battling with different methods of creating wiki/publishing pages within an enterprise wiki site using code in SharePoint 2010. While the issues I encountered were almost frustrating at the time, the overall learning experience was great. So for developers like me who might be tasked with similar problems (and of course for my personal reference), I have put together this article to describe what works and what does not. I have tested the final code and found it to work for both a publishing site as well as a team site with the publishing feature activated.
SharePoint Web Parts – An Overview
This introductory tutorial presents an overview of building SharePoint web parts. Web parts are perhaps the most common type of development projects any new SharePoint 2010 developer will undertake. More detailed instructions on coding, deployment and adding of web parts to SharePoint 2010, will be presented in later tutorials.
Search the Internet Directly From the Start Menu
Most Windows users usually lauch their browser application in order to search the internet. If your favorite search engine is not set as your home page and if perhaps you don’t use Google Chrome (which allows searching directly from the address bar), then you would need to first type-in the address of your search engine before proceeding. This could be time wasting and monotonous.
Protect SQL Statements From Accidental Update/Delete
The designers of SQL for some reason did not require a keyword (like “ALL”) to protect SQL statements from accidental updates or deletes. Especially when the UPDATE or DELETE statement doesn’t contain a WHERE clause. I wonder if this was deliberate or if it was an oversight. In any case, the programmer becomes “all-powerful”. The significance of this problem will be better appreciated with an example…
Add Row Numbers To DataGridView in C#
The DataGridView is the control that is mostly used for displaying the contents of lists, tables etc. However, the built-in version of this control doesn’t allow for adding row numbers/count via its properties. This feature is often required because it is difficult to keep track of the records in a table with 1000 rows if row numbers are not displayed.