i need a complex returning type. i have 4 class returning types COMPLEXTYPE must include Company, Muayene, Radyoloji, Satis because i must return data switch case situation how can i do? Maybe i need generic collections How can i do that?
public class GenoTipController
{
public COMPLEXTYPE Generate(DataModelType modeltyp...
Hi,
Yesterday I found out that the mailroot directory had moved to a different location on the C drive. I don't know how this happened as no configs were changed, using IIS7 with IIS6 SMTP service on Windows 2008 R2 web edition.
I wanted to restore it to the default c:\inetpub\mailroot location. So I opened system32/inetsrv/MetaBase.xml...
I'm trying to set up log4net but I cannot make it work. I've put this in my Web.config:
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<appender name="TraceAppender" type="log4net.Appender.TraceAppender">
<layout type="log4net.Layout.Patt...
Hello,
I have several forms that are localized to multiple languages. If I do a change on one form (for example, changing the size of a textbox) the change is done only on the localized version of the Form that I have currently selected.
Is there a way of extending the change I've done the different localized versions of the same Form ...
Hi All,
I have a basic doubt. Internally how are events represented as methods or as (fields)objects. If event is a field then how one can still contain events in the interface definition.
Thanks
JeeZ
...
We are currently using DeltaXML in our .Net application to analyse two versions of .xml files regarding their differences, but since DeltaXML is a java application/library, we're looking for a more homogeneous way to accomplish that task.
Does anyone know a .Net diff library similiar to DeltaXML?
...
Assume that we have the following code:
class Program
{
static volatile bool flag1;
static volatile bool flag2;
static volatile int val;
static void Main(string[] args)
{
for (int i = 0; i < 10000 * 10000; i++)
{
if (i % 500000 == 0)
{
Console.WriteLine("{0:#,0}",i);
}
...
If my class has NO destructor, an it goes out of scope.
GC runs at certain time, now will it simply reclaim memory from my class OR will it call its destructor or Finalize () on it ?
And does the .net framework class like SQLConnection implement a destructor? I saw it has a Dispose () implementation but didn't see the destructor using "...
With ASP.NET Webforms, I could drag and drop a control on a form and be able to access its properties:
if (number == 0)
AddButton.Enabled = false;
Although I cannot drag and drop a control on a ASP.NET MVC View template, can I change its attributes?
For instance:
disable a button in some conditions and be able to enable it if c...
I need to open a second browser window or tab, but it must have a different session ID.
Opening the new browser window from an ASP.NET page is easy, but then it shares the same cookie and thus session ID with the original.
How can I do this?
...
I want to create fast loading reports like ActiveReports or DevExpress but the problem is I don't know where to start. Also I want it to be light and take less space in setup file.
Does anybody tried to do this? Can I write this component with .net?
This must not be so hard?
...
I'm tired of including
EnableViewStateMac="false"
in every page. How to do that globally?
...
I have an ASP.NET project which has already some custom fields in it's web.config file. I've added in it three more fields and used them in my changes, and it's working great.
But where it needs to be used, there aren't these thre fields in the web.config (this was expected, I've just added by hand for tests and developing).
How do I c...
I have made an addin for Microsoft Word 2010 Beta using Visual Studio 2010 RTM. When I look at "View and manage Microsoft Office Add-ins" the publisher shows up as None.
Would code signing with a Software Publisher Certificate fill in the Publisher field?
The ClickOnce manifest is signed with a Code Signing certificate.
Would signing...
I have to be stupid. Searched for hours in the internet to find a solution. I couldn't find one.
How do I set the icon for my start menu shortcut, when I deploy and install my application with ClickOnce?
...
Is there a simple way of tracking the change of an Mdi's children i.e. when they are created and closed, something like an event OnMdiChildListChanged (I realise this doesn't actually exist).
I am also aware that I could have a method within my Mdi that handles the creation of child forms and logs the state of them or even create an Int...
I am trying to figure out is the possibility of Deploying Existing ASP.Net/C# 3.5 SP1 Website to Linux Server with Mono Runtime. Is it really safe for live web sites? Interested in this because of cost cutting.
...
Hello, I would like your advice about how best to solve my problem.
In a Web server is running. NET Framework 4.0. Whatever the methods and technologies you would advise me. applications built on the basis Asp.NET MVC 2.
I have a database table in MS SQL Server. For each table in database, I must implement the interface for viewing, ed...
I assume I would need a special centronics cable to do this, but is it possible to get the print data from the remote device and convert it to a image file in .Net?
thanks,
Jason
...
I have created a WCF service and hosted it using Windows Services host.
To install the project I created an installation project (as described here).
In the tutorial, it says to define in the ProjectInstaller.cs the serviceProcessInstaller1 Account property to be Network Service.
When using this setting the service did not started on th...