| Thread | Last Post | Replies |
|
| Performance hit in foreach? | 22 Aug 2006 00:51 GMT | 7 |
This is a very simple question, but for moe reason I can't find an answer. Do I take a performance hit if a foreach statement has to evaluate an expression? For example, consider the following:
|
| structure of a program | 22 Aug 2006 00:10 GMT | 4 |
I am still fairly new to C#.net and I sometimes make basic program design mistakes - particularyly in the context of paying attention to OOP principles. At the moment I am working on an application that uses a MS Access database
|
| Can I do dynamic GUI components like in Java? | 21 Aug 2006 23:50 GMT | 1 |
One thing I encountered a problem with when porting some Java code to C# is that some GUIs in Java all the widgets are basicaly evolved from one class and it gives you some strange flexibility like adding any component to other components. Like having a JList you can add ...
|
| UI and BL Interface | 21 Aug 2006 23:39 GMT | 1 |
I am designing a 3 tier application (UI, BL, and DAL). My UI takes user input and populates the BL to store into a db. Currently, I am thinking about design an interface (service/facade) that the UI interfaces between the BL. I have seen examples that the UI creates and new ...
|
| Setting StringBuilder.Length not behaving per documentation | 21 Aug 2006 23:17 GMT | 7 |
Perhaps this has been discussed elsewhere - if so, I couldn't find it. The StringBuilder.Length property is explicitly documented as padding the length with spaces if .Length is set to a value greater than the current length. I'm hoping to get this behavior. However, when I set
|
| Binding of label text property not behaving as expected. | 21 Aug 2006 23:13 GMT | 1 |
Folks, I am reading/writing data within an XML file. In my form I have a label that is assigned to the UpdateDate field within the XML file. Within the form I update the label to a different date. The code is below. The issue I'm having is that the DataBinding doesn't seem to ...
|
| how to find the size of image | 21 Aug 2006 23:08 GMT | 3 |
how to find the size of image in asp.net
|
| Dynamic casting at runtime | 21 Aug 2006 22:40 GMT | 13 |
This is a question brought about by a solution I came up with to another question I had, which was "Dynamic object creation". So, I'm curious if you can dynamically cast an object. If you have two object which have a common base class, they can both be cast up to the base
|
| ArrayList as Enumerator in JScript | 21 Aug 2006 22:15 GMT | 2 |
I migrated a formerly C++ COM component to C# and I have been able to duplicate all the old behavior except for one. I have an enumeration property that returns a list of com objects. Using the ArrayList to hold the com objects ought to work. If I add strings to
|
| adding username/password to website | 21 Aug 2006 22:07 GMT | 2 |
How can I add username/password authentication on my site? I have asp.net 2.0. If the user's not logged in, that page should be displayed when I try to go to any of the pages. Also, how can I add a "login" timer so that the user is automatically logged
|
| Is the reading/writing to the registry slow? | 21 Aug 2006 21:38 GMT | 5 |
I have a system that has five programs that all communicate with each other via Message Queues. Works well. One program is a watchdog that will make sure the others are up and going. Currently I have it store info it gets from when the programs check in into a DataSet (XML file). ...
|
| String Error | 21 Aug 2006 20:54 GMT | 1 |
I know I am going to feel really dumb when someone tells me the answer, but at the moment, I am stumped. What is wrong here and how can I fix it? string id = dropDownList.ID
|
| Capturing cursor keys ?? | 21 Aug 2006 20:49 GMT | 2 |
I have a usercontrol , the keypress and keyup/down events do not seem to work on the cursor keys . How can i capture the cursor keys when my control has the focus ? Johan
|
| Temporarily saving data from several pages. | 21 Aug 2006 20:09 GMT | 1 |
I'm working on a web application that's basically a questionaire that consists of 8 pages. Each page has different data that needs to be saved. I have to either save all the data from all 8 pages OR save nothing. What's the best way to temporarily save this data and then insert ...
|
| C# database access | 21 Aug 2006 19:54 GMT | 5 |
(VS2005/C#/MSSQL) I am looking for a very efficient way to do a database lookup. I am reading 1 to many files in a given directory. I then look up the information based on the filename into a SQL Server database. There
|