I've got a WPF application with these three types of things...
WindowMain
UserControlZack
WindowModal
UserControlZack1 sits on my WindowMain...
<Window x:Class="WindowMain"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr...
I am working on doing an aspx page to display code usage examples of a library.
So basically, I'd like to for example have:
Description
Source Code
Button
Output (in a datagrid)
Rather than copying and pasting the code from behind the button into the aspx page for display purposes, I was thinking it might be nice to be able to be able ...
Can any one guide me to learn LINQ in C#.net i am new to this concept
...
I have a .Net 3.0 application that needs to pass an integer to another program on the same machine. I was using a WCF service to do this, but ran into user rights issues when trying HOSTING the service on the local box. Any thoughts on how to accomplish this woudld be greatly appreciated.
Thanks,
Dave
...
I have an add-in that does operations to open projects in the current solution. Before I do any of those operation, I want to verify if I need to build the projects or now. Is there a way I can check if a project is out of date (Up-To-Date = True)?
Thanks in advance.
...
Do you know any DateTimePickers for calendars other than the Gregorian calendar?
...
I have a class that contains Append-like members for each primitive type, string and INetSerializable:
public class TypeAppender
{
public void Append(int i ) {}
public void Append(double d) {}
public void Append(string s){}i){}
public void Append(INetSerializable ins){}
}
From a different ...
What is the best way to get the reverse behavior of the YesNo Boolean type in NHibernate mapping?
I want 'Y' to mean false and 'N' to mean true.
Is there a NoYes type? Do you write a custom type? something really easy?
This issue of needing to reverse the Boolean exists on at least one field on over 40 tables.
Trying to adapt to a leg...
I have been developing in Actionscript 3 / Flex Builder 3 for a while now and am pretty comfortable with data binding when developing those types of applications.
Recently, I've gotten into some C# and for the life of me can't find a good reference on how to data bind.
I was wondering if someone could give me some info on how to data ...
Hi all,
I want to show datagrid content (rows,columns) in XPS document.I have 20 columns. When i sent datagrid to XPS with XPSDocumentWriter.Write method ,it just show some columns not all of them.How can i show all columns and rows in xps(like Xceed datagrid xps exporting)
Thx
...
I have a web service (actually a silverlight enable wcf service, but for all intents and purposes, it's a web service) with a method taking a datetime parameter. The method gets called from a client, which could be in a different time zone. The service hosting the web service is in pacific standard time, and it appears the web service ...
As multi-core processors become more and more popular, I think it would be wise for me to become familiar with how to write code to take advantage of them. I am a .NET developer, and am not sure where to begin (seriously, I have no clue where to start). Any suggestions?
...
I want to create a small windows application will go automatically every time period to my site and check if its running fine, if it found it down, not working or have an error "Examples: 404, network error, connection to db failed" it will show a message on my screen.
How can i know that there is an error there programmaticly using any...
I have really silly problem but it's been a week and I can't move forward.
I have small app that is protected by authentication. Everything works locally, you can log-in etc. On remote machine, you can't log-in, it tells you your login is not recognized. Now, I thought it might be db connection etc, so i made small test page that list as...
Do you have to deploy the .pdb file with compiling under release?
Why does it even compile a .pdb when you do a release build anyway?
...
I am writing my first class-library in VB.NET. My idea is to distribute this library so others may use it in their applications.
However, perhaps due to my lack of experience in writing and structuring the library and the classes therein, I noted that the methods/properties are ALL being shown in the IntelliSense of Visual Studio.
The...
I'm trying to add a timestamp to a file. However the DateTime Format ToString() looks weird to me.
Here is my code:
Dim _timeStamp As String = Date.Now.ToString("dd_mm_yyyy")
but the value looks like this:
_timeStamp = "03_24_2009"
I checked my PC and the current date is correct. Shouldn't the value look like this: 03_03_2009?...
This is perfectly fine C# code and works fine provided correct URL. But the everything is just done at one line by reducing the readability of the code.
Here is the code :
return new StreamReader(WebRequest.Create(urlName).GetResponse().GetResponseStream()).ReadToEnd();
I am just wondering what are the opinions of fellow de...
I have a Winform with a very basic premise: modify 2 string properties of an object that is passed into it, then save it to disk when the form closes. I am trying to use databinding to bind the Text properties of 2 textboxes on the form to the 2 string properties of the object.
But it isn't working. The textboxes never display the value...
We've got a ASP.net web app with a few pages that occasionally time out as the page loads (generally, these are all admin-type pages that do bug uploads / downloads with processing.)
One of the solutions has been to bump both Session.Timeout and Server.ScriptTimeout up to very large numbers - which works fine. However, there's quite a ...