Tagged Questions
0
votes
0answers
97 views
how to upload document from c# application with datetime/choice column
i have created an application to simplify uploading file to document library and i am having problem with 2 fields which is datetime and choice fields of the document library, the file is not ...
0
votes
1answer
111 views
Want my column display minutes and want it to sum in hours
I have an issue again...
I create list from csvfile. I convert string with date into DateTime type like this:
string[] formattedDates = { "dd.MM.yyyy HH:mm:ss", "mm:ss", "HH:mm:ss", "dd.MM.yyyy", ...
2
votes
1answer
188 views
Why is default ScheduledItem StartDate a 'weird' value?
If you create a new ScheduledItem object and look at the StartDate - it's 1/1/1990 - why? This has just caught me out when trying to evaluate whether the dates have been set or whether they're, what I ...
1
vote
2answers
795 views
How to set date field to Today's Date in Wss 3.0 Custom list form programatically
How can i pre-populate newitem.aspx form with today's date. When user adds new item i want to prepopulate date field with todays date.
<SharePoint:DateTimeControl ID="dtcDateofInsp" ...
3
votes
1answer
292 views
Set a date/lookup in ListInstance elements.xml
I have two lists. The first one has customers and the second one has Orders. Now i want to add some (test) data in the elements.xml of the listinstances. For customers this works without a problem
...
9
votes
2answers
7k views
Safest way to get a date from Sharepoint into a C# datetime field, using object model?
If I have a Sharepoint list item with a date field.
How can I get the field value populated into a c# datetime object?
For example:
DateTime validfrom = Convert.ToDateTime(item["validfrom"]);
...