I have a static ArrayList of DateTimes
<Window.Resources>
<col:ArrayList x:Key="startHours">
<sys:DateTime>0:00</sys:DateTime>
<sys:DateTime>0:30</sys:DateTime>
<!-- .... -->
</col:ArrayList>
</Window.Resources>
I want to fill a combobox with hour:minute formatted dates, so I do
<ComboBox x:Name="cmbF...
Hello,
Recently I'm working on a refactor project from asp to asp.net 3.5.
There are lots of .html file uses .inc file for the header and footer in the old site, and needed to be converted to .aspx uses master page.
My problem is, for search engine and for bookmark those old pages are all gone
Therefore I need to redirect the old .html...
Hi, I'm use EF -> ADO.NET Data Service <-> WinForm Client
Client create Users(user_id,name,descr) and User_Phones(user_id,phone_id,number,descr) 1 to many
How buffered this new records if off line or save to file for transfer on CD
for examples client create 10 new user and 20 phones.....
is any demo or examples?
...
My application indexes contents of all hard drives on end users computers.
I am using Directory.GetFiles and Directory.GetDirectories to recursively process the whole folder structure. I am indexing only a few selected file types (up to 10 filetypes).
I am seeing in profiler that most of the indexing time is spent in enumerating files a...
I was wondering if there's a list with all Exception types. I know a few Exceptions, but I don't know them all. Sometimes I throw an Exception and then I think, maybe .NET already has an Exception for this.
For example, now I need an Exception that says that a process doesn't exists (like a file).
So therefore my question is: Does anyb...
I'm building multi-project Application where some UserControl, the user control has a Entitymodel object (myDBContainer db = new myDBContainer()), when i drop my user control on my a form i got the following designer error
The specified connectionis either not
found in the configuration, not
intended to be used with the
entityc...
I want to know if this is inherently possible:
Think of a cloud scenario. I allow users to upload their .net code onto my server. However to manage things on my server I can't allow users to write code which make direct calls to methods such as HttpWebRequest.Create().
If the user has written such a code it would mean he/she is trying ...
This is a bit of a long question, but I've made it as terse as possible, so please bear with me. It looks to me like a bug in the XmlSerializer class but before I file it with Microsoft I'd like to see if there's anything I've missed, which is entirely possible.
I'm attempting to generate the following XML as a representative case, whic...
I am trying to define a HierarchicalDataTemplate. The ItemsSource I want to bind to will only ever have one item in it so I don't want it to be a collection, just a single item. How do I do this as it will only work if the path of ItemsSource points to a collection?
...
I know 2 processes can't listen the same port, but as it happens with HTTP requests in the port 80, I know Windows can receive the packets and reroute to the appropriate services. I just don't know if it also happens with other ports and protocols (net.tcp for instance).
...
Is there any way transactions can be implemented in .Net web services ?. Is it possible ?
...
How can .NET web services be made more secure? Something like HTTPS?
...
Hi all,
I'm writing a Excel class using Microsoft.Interropt.Excel DLL.
I finish all function but I have an error in my Destructor.
I Want to save all changes to my file and I want to release all source. I want to all of them in my destructor.
But In my destructor, Excel.ApplicationClass, Workbook and Worksheet objects are fill by an Exc...
I have some read-only data that I want to initialise and then re-initialise periodically in a thread-safe manner. For initialisation I've pulled in Joe Duffy's LazyInit and LazyInitOnceOnly structs as detailed in his blog, which use the Double-Checked locking pattern. So my current implementation of the getter simply wraps around his L...
I have an object exposed through a web service that is consumed by another system. That system also uses that same WSDL to return back an object on demand to us. I was wondering if it was possible to take that same object and relay it back to a the original object?
I tried to do the following and it wouldn't actually cast it back with t...
hello,
i have some documents that has been copied in a folder.(example with word)
when i use filesysteminfo.CreationTime i get the date when i copied it.
(right click on the document, (last to select) "eigenschaften")
but when i go into the document and select Datei --> Eigenschaften --> "Date of Creation"
i get the "right CreationTime...
I can't make nant do a release build of Caliburn using their build.cmd. Can anyone tell me how to?
What command line parameters should I use?
...
I have an application with existing data, that has Zero in the date column.
When I look at it from sqlplus I see:
00-DECEMB
when I use the dump function on this column, I Get:
Typ=12 Len=7: 100,100,0,0,1,1,1
I need to work with the existing data from .Net (no changes to the data,or the data structure or even existing sql statements)
...
First of all, I have a very superficial knowledge of SAP. According to my understanding, they provide a number of industry specific solutions. The concept seems very interesting and I work on something similar for banking industry. The biggest challenge we face is how to adapt our products for different clients. Many concepts are quite s...
Does somebody know a free tool, which can be easily integrated with jsystem to test .net based windows GUIs?
...