Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > january 2008 > threads for wednesday january 2

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

accessing C#/html objects from js
Posted by Jeff User at 1/2/2008 11:27:44 PM
hi all Using C#, .NET1.1. I need to pass a string of text to the final html output and then capture it with java script on the client side. I found that I can place my string in and then access a textbox or a label from the js, but only if the textbox or label is visible. If they are hidde...more >>

stepping into framework code in C# Express 2008
Posted by Andrus at 1/2/2008 10:23:25 PM
How to step or look into commented .NET framework source code ? I havent found any way. Using Visual C# 2008 Express Edition. Andrus. ...more >>

diferent results in debugger
Posted by colin at 1/2/2008 9:16:09 PM
Hi, Ive got a difference in results depending on wether I run my app in the debugger, or run it seperatly (or with <ctrl-f5>) the results in the debugger seem to be more correct, although the app isnt finished and theres still a lot of things it gets wrong. the processing is so complex its ...more >>

Watermark/label custom http handler
Posted by Tem at 1/2/2008 6:24:50 PM
I need to write a custom handler when the handler is accessed, it returns the photo in jpg with 2 lines on the bottom of the image. lower left "Taken by" lower right "January 2 2008" This is what I have so far... public class certificate : IHttpHandler { public void ProcessRequest (...more >>

a better way for user searches
Posted by Dan Holmes at 1/2/2008 5:31:02 PM
i have a table of products and there is a screen to search for them. I am stuck as to how to distinguish that the user doesn't want to include that criteria with that criteria is blank. Here is a sample: public List<ProductInfo> List(IVS.Framework.Identity id, ProductInfo productInfo1, ...more >>

ReadXml fails please help
Posted by Rainer Queck at 1/2/2008 5:18:38 PM
Hello NG, I am using a typed DataSet, created with VS dataset designer. I have the problem , that a table in the dataset refuses to read a xml file. The strange thing is that if I create a seperate datatable, using the Typed DataSet.Table this reads the xml file without any problems: To ma...more >>

Registering Event Handlers in C# vs. VB .NET
Posted by Scott M. at 1/2/2008 4:29:54 PM
Am I correct in thinking that because C# doesn't have the "Handles" keyword that VB .NET does, we have to register event delegates manually in C#, whereas in VB .NET using "Handles" takes care of registering the event delegate for us behind the scenes? In other words, *if* C# did have a "H...more >>

newbie: XML
Posted by Jeff at 1/2/2008 1:24:07 PM
hey ..NET 2.0 I'm developing an app which each day will try to access an report made in XML, my app will access it each day and retrieve some values out of this XML document and store it in a database... The XML document is on another server somewhere on the Internet should I use whe...more >>



ASP.NET's new ListView Control: Custom Grouping?
Posted by benji at 1/2/2008 1:21:02 PM
Hi, I'm investigating the new listview control. The grouping functionality is very cool, but I don't want to simply group every x elements; i'd like to do custom grouping (I want to say, start a new group if this record contains a new value for field y as compared to the previous record). W...more >>

WCF Administrative configuration in dedicated xml file (not App.Config)?
Posted by José_Joye at 1/2/2008 1:18:32 PM
I'm currenly playing with WCF framework and I'm looking for a way to configure WCF settings in a dedicated XML file. By default, all the admistrative settings are stored in the standard App.Config file. Is there a way to programatically tell WCF to look for the setting in another file prior o...more >>

newbie question: how to test whether a variable is a value type
Posted by My interest at 1/2/2008 12:34:04 PM
for reference type, I can use the is keyword, but how can test whether a specific type is a value type?...more >>

specialized generic method in C#
Posted by My interest at 1/2/2008 12:25:02 PM
Can I create a specialized generic method depends on the constraint on the generic type constraint? such as: static class foo { public static void f<T_>(T_ dummy) where T_: struct { ....} public static void f<T_>(T_ dummy) where T_: class { ....} } Thanks....more >>

Getting actual current screen resolution
Posted by Joe Withawk at 1/2/2008 9:38:06 AM
Using the Scleen class you can get information about the bounds of the displays on the system, but if you temporarely change the resolution (by creating a full screen directx device with other resolution) the Screen class does not update. It still shows the same value. Apart from creating a...more >>

binding a Generic.List to a repeater
Posted by DotNetNewbie at 1/2/2008 8:51:53 AM
Hi, It is not possible to bind a Generic.List collection to a repeater I guess huh? I am getting this error: An invalid data source is being used for rpCategories. A valid data source must implement either IListSource or IEnumerable. Is this correct or could I be doing something else...more >>

Web Browser Control
Posted by Chris at 1/2/2008 7:23:21 AM
Hi, I'm using VS.NET 2003 to create a web application. What I want to do is have a page rendered within my main page, almost as a panel or something. I've tried adding the microsoft web browser control as a reference, but I don't think it's working. Anyone have any advice on this? Thanks....more >>

Delegates and Events... please help
Posted by pbd22 at 1/2/2008 7:03:44 AM
Hi. I am stuck on a part of my program and could use some help. I have a block of code that opens and writes to a text file. The idea is to keep the file open and keep writing to it until the EndOfStream event is fired. My project is a carry-over from a VB6 project and the Extractor() clas...more >>

Sort a BindingList
Posted by jehugaleahsa@gmail.com at 1/2/2008 6:39:07 AM
Hello: I want to know the best way to sort a BindingList without needed to turn it into a DataTable. Of course, my BindingList is being used indirectly by a BindingSource. So, how do I sort a BindingList of my custom business objects? For instance, when the user clicks on a column header of...more >>

Adding data columns to a disconnected database
Posted by canoewhiteh2o at 1/2/2008 4:15:00 AM
I am having trouble adding data columns to a disconnected database. I first load a datatable using: private DataTable dtMacros = new DataTable(); private ArrayList macro = new ArrayList(); private SQLiteConnection cn; private SQLiteDataAdapter adapterMacros; cn = new SQLite...more >>

Testing a Comparer instance type
Posted by Luc The Perverse at 1/2/2008 1:18:03 AM
Hello! I am trying to find a way to deal with Windows' case insensitivity without just forcing everything lowercase. While I am open to criticism on my method - my question relates to the fourth to bottom line (not including curly braces) on the bottom - testing to see if the Comparer is...more >>


DevelopmentNow Blog