Windows Live Writer 2011
/// <summary>
/// Update Category
/// </summary>
/// <param name="id"></param>
/// <param name="name"></param>
/// <param name="description"></param>
/// <returns></returns>
public static bool UpdateCategory(string id, string name, string description)
{
DbCommand comm = GenericDataAccess.CreateCommand();
comm.CommandText = "CatalogUpdateCategory";
DbParameter param = comm.CreateParameter();
param.ParameterName = "@CategoryId";
param.Value = id;
param.DbType = DbType.Int32;
comm.Parameters.Add(param);
param = comm.CreateParameter();
}