Tag: "DateTime"
» HTML5 fields per SharePoint 2010
... hè ancora le specifiche non sono complete), sono i seguenti:
emailurlnumberrangeDate pickers (date, month, week, time, datetime, datetime-local)searchcolorEcco quindi che una casella di input pensata per inserire gli anni di un utente, pot ...
del 1/9/2012
» Date non corrette utilizzando il Client Object Model di SharePoint 2010
... ate"]));
context.ExecuteQuery();
foreach (ListItem item in items)
{
Console.WriteLine("{0}", (DateTime)item["StartDate"]);
}
}
Console.WriteLine("Server object model:");
SPSite site = new SPSite("http://s ...
del 11/29/2010
» Le API di SharePoint per il la migrazione e il deployment dei contenuti
... ngs.CommandLineVerbose = true;
importSettings.IncludeSecurity = SPIncludeSecurity.All;
importSettings.UserInfoDateTime = SPImportUserInfoDateTimeOption.ImportAll;
SPImport import = new SPImport(importSettings);
import. ...
del 6/9/2010
» Formato delle date durante l'utilizzo del web service Lists.asmx di SharePoint
... es.InnerXml = string.Format(
"" +
"New" +
"" +
"{1}" +
"",
title, DateTime.Now.AddDays(15));
XmlNode node = null;
node = service.UpdateListItems("LIST NAME", updates);
}
ge ...
del 3/3/2010
» Sempre sul sorting di liste generiche, ma in C# 3.0
... onalizzati, all'interno di in un'unica riga di codice.
List list = new List();
list.Add(new CustomItem() { Date = DateTime.Now, Value = 1.0 });
list.Add(new CustomItem() { Date = DateTime.Now.AddYears(1), Value = 0.5 });
//sort su ...
del 2/23/2009
» Come effettuare rapidamente il sorting di una lista generica
... à dei propri elementi custom.
Quindi, a fronte di un oggetto del genere:
public class CustomItem
{
public DateTime Date { get; set; }
public double Value { get; set; }
}
Ecco come possiamo rapidamento effettuare il ...
del 2/19/2009
» La classe RuleSetDialog
... antity = quantity;
ProductID = productID;
ProductName = productName;
OrderDate = DateTime.Now;
Status = OrderStatus.NewOrder;
}
public int Quantity { get; set; }
...
del 1/31/2009
» Utilizzo dei parametri sulle query ad un database Access
... xt = "SELECT * FROM table WHERE campoData > @dataeora";
OleDbParameter param = new OleDbParameter("@dataeora", DateTime.Now);
cmd.Parameters.Add(param);
conn.Open();
OleDbDataReader reader = cmd.Execute ...
del 8/30/2008
» La nuova classe TimeZoneInfo
... nbsp; lblDate.Text = String.Format("Data locale: {0}Data in UTC: {1}", DateTime.Now, TimeZoneInfo.ConvertTimeToUtc(DateTime.Now, locale)); }
Io trov ...
del 5/18/2008
» Metodo AddAppointment
... errà visualizzato dal client di posta Microsoft come un nuovo appuntamento da salvare.
private string AddAppointment(DateTime startDate, DateTime endDate,
string description, string summary, int priority, ...
del 2/21/2007
Page:
1
2