.net-3.5 Questions

6

Solved

In C# 3.0, is it possible to determine whether an instance of Type represents an Anonymous Type?
Malfunction asked 30/10, 2009 at 15:58

1

Solved

So the obvious way to do this is.. var handler = GetType().GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance); handler.Invoke(this, new object[] {e}); And I can add caching ...
Seward asked 23/9, 2011 at 15:21

2

Solved

I was trying to find out the problem in one web design I had and remembered to use a simple javascript to get the browser version as I had completly 2 different behaviors so I add this: <div i...
Unlookedfor asked 8/2, 2011 at 10:4

2

Solved

I can get this working with an XmlDataSource but not with my own classes. All I want to do is bind the listbox to my collection instance and then link the textbox to the listbox so I can edit the p...
Conjugation asked 21/9, 2011 at 10:29

2

Possible Duplicate: Send document to printer with C# I want to to Send a String Value directly to printer. of course it is very better that I can send a datatable to printer. but firs...
Unequaled asked 15/9, 2011 at 17:21

1

Solved

I have the following bits in App.config for a .NET 3.5 Windows Service: <configSections> <section name="ConfigurationServiceSection" type="SomeApp.Framework.Configuration.ConfigurationSe...
Fala asked 11/9, 2011 at 19:17

1

Solved

I have a DataGridView that I've setup in a WinForms project. The Columns are all defined in the designer file. When I go to run my SQL the columns in the DataGridView get replaced with the columns ...
Scotch asked 11/9, 2011 at 21:28

5

Solved

I have struggled with this for a long time, and I did get a solution working eventually but it wasn't pretty, and I am hoping to gain a little wisdom from the stackoverflow community about how this...
Hatchway asked 8/12, 2009 at 20:27

34

Solved

Most restrictions and tricks with windows forms are common to most programmers. But since .NET 3.0 there is also WPF available, the Windows Presentation Foundation. It is said that you can...
Sipple asked 11/9, 2008 at 23:33

1

Solved

First I have a repeater, and I'm outputting a property. I have tried both <%#Eval("Link")%> and <%#DataBinder.Eval(Container.DataItem, "Link")%> I have a simple class public cl...
Eyde asked 1/9, 2011 at 14:2

2

Solved

I have a ListView that I want to group results into, however the examples I am finding are not working. How can I group my results? I want to group on the Status property of a custom object. This...
Fortran asked 12/3, 2009 at 18:5

5

Solved

I want to implement a paperless filing system and was looking to use WIA with C# for the image acquisition. There are quite a few sample projects on CodeProject, etc. However, after downloading eve...
Isoline asked 12/8, 2008 at 15:28

2

Solved

I'm a newbie in this place and starter with C# mobile. Now , I'm working on C# handheld device platform. So , I have some question to ask about how to get the memory usage. I have try GC.GetTotalM...
Undercroft asked 4/8, 2011 at 3:54

6

Solved

In a recent interview one of the questions I was asked was ‘What is the benefit to our clients if we upgrade to .Net 3.5/4’. In other words If we upgrade all of our systems, all our clien...
Manila asked 17/8, 2011 at 8:51

1

Solved

I am binding a DataTable to a DataGrid, everything is working fine. My next step is to export the DataGrid data to a CSV file, comma delimited. What is the best/easiest way doing this with ASP.Net...
Acquire asked 17/8, 2011 at 9:31

5

Solved

I have an ASP.NET MVC application which is pretty simple so far, but I want to add a driving directions page to the clients location. I see plenty of examples using the traditional code behind mode...
Latvia asked 28/2, 2009 at 16:52

1

Solved

I write a linq to Entity: string[] groups = GetGroups(); var fList = from f in _store.wcf_ServerFarm join a in _store.ClientAccess on f.ServerFarmName equals a.AccessServerFarmName join s in _s...
Simoniac asked 9/8, 2011 at 10:26

2

Solved

I have following test program char c = '§'; Debug.WriteLine("c: " + (int)c); byte b = Encoding.GetEncoding(437).GetBytes("§")[0]; Debug.WriteLine("b: " + b); char c1 = Encoding.GetEncoding(437)....
Voluntaryism asked 8/8, 2011 at 15:5

3

Solved

I am trying to convert some vb.net to C#, but I keep getting errors. At the moment, I am getting the error in the title. The problem line is: string[] strUserInitials = HttpContext.Current.Reques...
Junna asked 4/8, 2011 at 11:4

4

Solved

My objective is a convention for thread-safe functionality and exception handling within my application. I'm relatively new to the concept of thread management/multithreading. I am using .NET 3.5 ...
Supramolecular asked 12/2, 2011 at 17:3

7

Solved

UPDATE 1: I have now setup IIS6 so .NET can handle calls to .css files. What do I have to do now to get it to change css files based on the referal url? So if the referal url is http://intranet/, ...
Haletky asked 1/6, 2011 at 11:30

4

Solved

There are a hundred examples in blogs, etc. on how to implement a background worker that logs or gives status to a foreground GUI element. Most of them include an approach to handle the race condit...
Crankcase asked 22/7, 2011 at 21:39

2

Solved

I have a WPF User Control with a UIElement Grid with several text boxes and combo boxes. I have a Button(btnApply) whose IsEnabled state should be false when the form has finished loading. However,...
Mortar asked 25/7, 2011 at 18:53

2

Solved

Summary I'm currently writing an application where I have located my SQL instructions into a project's parameters. Within the code, I get the value of my query which returns the query itself. ...
Giordano asked 14/7, 2011 at 16:9

3

Solved

I am shelling out to do some work and one of the requirements is to kill the process if it is hung. My first thought was Process.Responding, however, I am not sure what it really means. Is it the ...
Fremd asked 21/7, 2011 at 19:47

© 2022 - 2024 — McMap. All rights reserved.