| Thread | Last Post | Replies |
|
| System.Linq | 28 Apr 2008 23:57 GMT | 5 |
Why does the compiler say that 'Linq' does not exist in the 'System' namespace when specifying a using statement as follows: using System.Linq; ----
|
| Where is System.Linq | 28 Apr 2008 23:56 GMT | 4 |
I try to type using system.linq in Visual studio 2005. But it complains that no namespace of System.ling is found. Maybe I need to add reference to System.linq. How can I add System.Linq Namespace in Visual Studio 2005 Csharp.
|
| hashed string | 28 Apr 2008 23:50 GMT | 4 |
I used the function below to convert a string to a hashed string. But I found whaterver string I input, I the output hashed sring always have a "=" character ending. Is there any problem about this function.
|
| Associations in DLinq Select() extension method | 28 Apr 2008 22:40 GMT | 11 |
I tried to use association property in Marc Select() extension method but got exception in Bind() call Property 'Customer.ContactName' is not defined for type 'nwind.Order'"
|
| getting first element from array | 28 Apr 2008 22:31 GMT | 11 |
I am trying to use the following; I have an array with bunch of values in it. I am trying to find a value that contains part of the string I am passing eg
|
| Call .Dispose() Every Time we Can call it? | 28 Apr 2008 22:09 GMT | 4 |
Should we call .Dispose() every chance we get... on every object that exposes .Dispose()... and every time we have such an object? For example, is it true that *every* time I create a DataTable and use it, that I should call .Dispose of the DataTable instance when I'm done with ...
|
| Please help understand virtual functions | 28 Apr 2008 22:07 GMT | 7 |
I have a base class that implements IDisposable. Then I have a derived class, in which I write the following: public override void Dispose() { }
|
| Passing in operators | 28 Apr 2008 21:38 GMT | 6 |
I have 3 static methods that share almost the same code with only a few lines where different operators are used. Is there a way to pass in an operator as a parameter? pseudo code
|
| Convert vbs file (WScript) to vb.net | 28 Apr 2008 21:08 GMT | 1 |
Is there a tool available that will convert a vbs file (WScript) to VB.Net?
|
| What is the point of properties? | 28 Apr 2008 19:53 GMT | 23 |
I was wondering, why use properties instead of get and set methods? I have a colleague who dislikes properties - and much prefers to write "string GetName()" and "void SetName(string name)" methods for example. Are there any arguments as to why properties are better? Or is it just
|
| DataGridview update | 28 Apr 2008 19:45 GMT | 1 |
I have a datagridview with custom update-method where I access the this.Rows property directly. I have no bindingsources, datatsets or anything (and it would cost me a lot of work to change this). Now I would like to update the datagridview by a background-thread.
|
| Handling different DPI in winform application | 28 Apr 2008 19:45 GMT | 1 |
Whats the best way of handling a DPI which is different from development machine? In my current case resolution is not an issue as all machines have the same resoluation..
|
| TextBox Paste event | 28 Apr 2008 19:02 GMT | 2 |
How do i Capture the Text box Paste event From the Builtin Context Menu of textbox control Or do i need to replace the default context menu TIA
|
| Link forms (newbie) | 28 Apr 2008 17:52 GMT | 6 |
I am beginning C# programming and am trying to open frmOrders from a button in frmCustomer (in Northwind database) with CustomerID as the link between the two forms. What is the easiest and quickest way to do this? I'm stuck at: private void btnOrders_Click(object sender, ...
|
| How to get rid of the Autogenerated code while generating code through CodeDOM | 28 Apr 2008 16:19 GMT | 1 |
I am using Microsoft CodeDOM to generate VB.NET code for one of my application. For this purpose, when give the call to GenerateCodeFromCompileUnit() method of ICodeGenerator class, it generates the following comment header automatically in the generated
|