getformattedvalue

MOSS 2007: SPListItem.GetFormattedValue for DateTime fields has a bug?

SPListItem.GetFormattedValue seems to have a strange behavior for DateTime fields. It retrieves the DateTime value through SPListItem's indexer which according to this MSDN article returns local time. Here's a snippet from Reflector public string GetFormattedValue(string fieldName) { SPField field = this.Fields.GetField(fieldName); ...

C# datagridview invoking the getformattedvalue function

I derived a new class from DataGridViewTextBoxCell in my application and overrided the function GetFormattedValue In GetFormattedValue, I do some data binding (for example I read a ID from the database on the web and I show the corresponding name of that item from my local information which are pre-read in a datatable). However, some d...