| Thread | Last Post | Replies |
|
| DB connections not closed fast enough? | 20 Nov 2005 12:01 GMT | 10 |
I'm quickly running out of available db connections with the code below. I like to think I'm closing everything as I go along, but I watch the connections shoot up as soon as the the method getIDs comes into play. Does anyone see anything obvious? It's almost as if my code can't ...
|
| Serialization of indexers | 20 Nov 2005 11:12 GMT | 6 |
I'm writing an XML serializer (similar to the MS XMLSerializer). It uses reflection to get the values from a class/struct. The one area I'm confused on is indexers. I can get the indexer PropertyInfo and the ParameterInfo stuff, but I can't possibly know the range of valid values ...
|
| what's the problem with this array initalization? | 20 Nov 2005 06:46 GMT | 4 |
Here's my method, and I get an error on the array initialization line. I've gotte this same error before, and it was fixed by adding the first line of the method, so I'm not sure what to do now. private static Status[][][,] ConvertToFlags(int[][][,] allPanels)
|
| ExecuteReader - Two select statments- returns only the first statment result | 20 Nov 2005 05:54 GMT | 5 |
I am using Microsoft.Practices.EnterpriseLibrary.Data. I am running the following sqlCommand = "SELECT var1 FROM table1 WHERE var2 IN (4,5,6) ; SELECT var3 FROM table2 WHERE var2 IN (4,5,6)";
|
| Throwing exceptions in dragover event not catched | 19 Nov 2005 23:19 GMT | 3 |
can someone explain :: (vs 2003) allowdrop=true , the code is hit , but the thrown exception is never catched ? Why is this so?
|
| Autoselect text when tabbing into a textbox | 19 Nov 2005 23:09 GMT | 1 |
In dialog boxes in Windows, the text in TextBox is automatically selected if you tab into the TextBox , but not when you select the TextBox using the mouse. What is the preferred way to support this in VB/C# 2005?
|
| How do I position treeview to initially show 1st node added. | 19 Nov 2005 22:05 GMT | 6 |
I'm adding twenty nodes (Parent and child) to a tree view. Only 10 items are viewable in the window at at time. So when it initially shows the tree, it shows the last ten items forcing me to use the scroll bar to show the first 10 items.
|
| Problem appending to an encrypted file | 19 Nov 2005 21:37 GMT | 4 |
How can this be done? Thanks
|
| PDB files | 19 Nov 2005 21:21 GMT | 3 |
As I understand it, having PDB files enables the runtime report the line numbers where the errors actually occured. So my question is why wouldn't you distribute PDB files with your application? Thanks.
|
| Is there a better way than this? | 19 Nov 2005 19:33 GMT | 2 |
I am adding a row to my table with the code below. It seems to be inefficient to me as I have to basically build my command with the string builder. There has to be a better way, no? What I am trying to do is to search my table for the 2 variables ln1 and
|
| Problem using OdbcCommand | 19 Nov 2005 19:02 GMT | 1 |
Hi all. Thank you for any help that you can offer. Im making a connection to a mySQL data base. I then use OdbcCommand to create a query and then execute it using ExecuteReader. I then use the OdbcDataReader that is returned to get the
|
| Anyway way to default to "View Code" on double click? | 19 Nov 2005 17:26 GMT | 2 |
I was looking through the options and only saw this type of default for XML and HTML - but what about C# forms and what not - is it possible to default these to View Code? Thanks,
|
| UpLoading To Access??? | 19 Nov 2005 16:55 GMT | 2 |
I'm trying to upload information from my CD's to Access.mdb. My problem I suspect is in my syntax, but what is happening is that it will upload 3 or 4 records (out of say 160) then ends the foreach loop without finishing the rest of the records. Hopefully someone can help me out ...
|
| Conceptual and speed question | 19 Nov 2005 14:53 GMT | 2 |
My program seems to slow down drastically because as I fill my array and table with many values, the program suffers tremendously. The first thing my program does is to search the jagged array to try to find an element in that array. If it does not find that element in that array ...
|
| INSERT INTO WHERE NOT EXIST into the same table | 19 Nov 2005 14:00 GMT | 6 |
I am trying to add a row to my table but I get the error message "invalid column name SOBN and BN1" on this statement. Basically, I am trying to add the row into the same table that I am searching if it does not find SOBN = 5 and BN1 =3. What is the problem? Do I have to create a ...
|