View Complete Post
If the responsibility for creating, managing, and executing routine backups is yours, these tools will make it easier. Also see how you can browse folders and files from inside Visual Studio.
MSDN Magazine May 2009
This month, more of the tools you need to get your job done.
MSDN Magazine December 2007
Go with the count argument is great if I just want to execute a batch multiple times. I want to replace coding which is currently using WHILE loop with GO but I need to find out # of times the batch has executed within the batch which is being
executed using GO with the count argument. How does SQL Server keep track # of times a batch executed so far?
I am trying to add a list column to a document library. When I am running the application multiple times, the list column is also getting created multiple times. If the list column exist, i dont want to recreate the column, but only assign the value to that
This is the code i have used:
SPView curview = list.DefaultView;
SPViewFieldCollection fieldCol = curview.ViewFields;
if (!fieldCol.Exists("Custom Column"))
AddField("FilesCount", SPFieldType.Text, list.Fields);
fieldCol.View.DefaultView = true;
int mouas =5;
subFolder.Item["Custom Column"] = mouas;
private static SPField AddField(string title, SPFieldType type, SPFieldCollection fields)
fields.Add(title, type, false);
How to avoid the duplicate creation of column, and assign the value to column, if the column exists?
I found that if the newly created column name is having white spa