Have anyone comes across this? I receive file from client which is generated through SpreadsheetGear. It looks fine if I open it in excel But it can't find data into cells if I try to read through EPPLUS or NPOI I believe SpresheetGear misses some of
The Microsoft.AspNet.Identity.PasswordValidator is configurable with a number of parameters which define the minimum password length and complexity rules. If the user enters a password that does not meet the criteria, PasswordValidator will throw an
I am having an issue with telerik expander IsExpanded bit Scenario - I want if the bound property is False, user should not be able to expand the expander and if the expander was Expanded it should close it self. Implementation - I made a simple styl
I've created a fresh new Dot Net backend based Azure Mobile service, downloaded it, published the service part to azure with publish settings. This all works fine. (this is the default to do app that Azure Mobile service generates, no changes made it
I have a mysql database on phpmyadmin, I installed the connector 6.8.3 (http://dev.mysql.com/downloads/connector/net/) I add a reference on the driver ((c:\Program Files\MySQL\MySQL Connector Net 6.8.3\Assemblies\v4.5\MySql.Data.dll) and I use this c
I am currently working on a .NET MVC 4 project. We have a razor list of items, the razor handles number of items shown and the ordering. We want to then make this client side. Is there a way we can update the razor via json to achieve this? Thanks in
I have a DataGridView with 9 columns. I have added the same ContextMenuStrip for all the column headers. dataGridView.Columns[i].HeaderCell.ContextMenuStrip = myContextMenuStrip; myContextMenuStrip contains a single item named Hide Column. Now, I hav
i would like to know if it possible to access the server side code of a ASP.net website. Any application that can download the server side code? Thanks a lot.From a browser? Probably not. If the site is compiled then the code is build into a managed
When use ILSpy to check the code of System.String, I found there are some methods marked as MethodImplOptions.InternalCall such as: [SecurityCritical] [MethodImpl(MethodImplOptions.InternalCall)] internal static extern int nativeCompareOrdinalEx(stri
Upon running this code: foreach (string drive in Environment.GetLogicalDrives()) Console.WriteLine("Drive: {0}", drive); Console.WriteLine("OS: {0}", Environment.OSVersion); Console.WriteLine("Processor count: {0}", Environme
We update our WPF app multiple times a week, this is a pain point as Customers are repeatedly asked to let the exe through their firewall. To get around this, I will try taking most of the code (including xaml) out of the exe, so the exe never change
I've developed software that I want to protect with licensing. So far I've got code that uses the details of hardware components to generate a unique ID for each machine. I can then permit the activation of 5 machines against one single serial key (5
I have a date in String format, mm/dd/yyyy I want to convert this to RSS date format like, friday, june 01, 2012, 12:11:25PM and i want to add this date value which is basically the pubDate to RSS pubDate tag, as follows: writer.WriteElementString("p
Right now I use a ListBox but that allows the user to select an item which I don't want. Is there a way to disable selecting or a more suitable control I can use? Right now I have this: <ListBox ItemsSource="{Binding Path=PersonNames}"> &l
I want to mark certain controls on my Windows Form with Attributes. So I added the Attribute in my TestAttributes.Designer.cs: [AmbientValue(true)] private System.Windows.Forms.Label label1; But whenever I change the Modifiers-property of label1 usin
Since .NET has source code exposed http://blogs.microsoft.co.il/blogs/arik/archive/2010/07/12/step-into-net-framework-4-0-source-code.aspx Where and how could I find .NET WPF implementation of databinding ? I'd like to see how it's implemented just b
I have a standard winforms application that runs on most machines. On a 2003 server with .Net 4 (full) installed it doesn't run. The event viewer shows: Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 1026 Date: 4/01/2012
I have the next task. Let's assume that we have below tables in a DB Vendor =========== Id Name ..... Product =========== Id VendorId Name ..... I need to be able to Sync main DB server with client DB server (one way sync), but there should be a poss
Is it possible to wrap a .NET control up as an ActiveX control to be used in a COM application (VB6 or MS Access VBA) and allow the COM application to set the data binding? I'd like the control to be a bound control but I do not want to have to write
I want my datetime to be converted to a string that is in format "dd/MM/yyyy" Whenever I convert it using DateTime.ToString("dd/MM/yyyy"), I get dd-MM-yyyy instead. Is there some sort of culture info that I have to set?Slash is a date
I got bored with writing same to code again and again to cache the objects in data access layer. Is there anyway to cache c# function results without much changes to functions. Is there any framework supports this functionality at the moment? Can i a
Is there a simple method that allows to rotate a UI element like for example a UserControl resp. a SurfaceUserControl by 180 degree?You can set RotateTransform.
I want to kill a process running on the machine using taskkill if they're still running after X seconds (a windows service was stopped but it takes time for processes to dissapear) What's the most correct way to accomplish the above in C# (.net 2.0 o
I'm trying to execute a controller's Action Method programatically and I'm not sure how. Scenario: When my ControllerFactory fails to find the controller, I wish it to manually execute a single action method which i have on a simple, custom controlle
I am working on a GridView in Asp.Net. When initially a the Page Loads, my gridview look like: alt text http://www.freeimagehosting.net/uploads/e45e5b66d4.jpg When a user clicks, to edit a row, I am using edit templates to show 'Domain' in a DropDown
We have a couple 3rd party systems that give us PDFs. We would like to convert those PDFs for display on the web without using an Adobe product. Ideally we would like to use Silverlight to render the PDFs but are having trouble converting from a PDF
I generated unit tests on a generic class in VS 2008 and it used the type GenericParameterHelper in all of the places that a generic type was used. Is this a placeholder that should be replaced or does it have some use? What are the uses if any? Here
I read all the questions related to this topic, and they all give reasons why a default constructor on a struct is not available in C#, but I have not yet found anyone who suggests a general course of action when confronted with this situation. The o
I use ASP.NET and WCF services in a load balanced web server environment, using Memcached in the service layer. I also wanted to replace the use of ASP.NET State Server (for Session State) with Memcached. Now I am afraid it is not a good thing, becau
I'm using Windows Vista and C#.net 3.5, but I had my friend run the program on XP and has the same problem. So I have a C# program that I have running in the background with an icon in the SystemTray. I have a low level keyboard hook so when I press