Need Linq Help I need linq help. I have a dictionary where the keys are strings and I need to select from that dictionary into another dictionary where the first two characters of the key match a parameter. For exmaple here is the code: Dictionary<string, string> origDict = new Dictionary<string, string>(); origDict.Add(""BS... 24 Apr 2010 09:26
Select distinct with anonymous type return error when one value is null Hi, How can i do this query with anonymous types; SELECT DISTINCT IdTable2, Name FROM Table1 WHERE idTable2 != null This query return error if the idTable2 is null: bindingSource1.DataSource=MyDataSet.Table1.Select(c=> new {Id=c.IdTable2, Nome=c.Name }.Distinct(); Any idea? Thanks ... 23 Apr 2010 06:36
What does this text mean it's about keyed hash(HMAC) Hi! I'm reading in a book from microsoft press (exam 70-536) and there is something that I don't fully understand what they mean. I hope somebody could explain what this text mean. The part that I don't understand is the last part of the text below and start from where it says Therefore, reverse mapping datab... 22 Apr 2010 18:42
Adding Reference to Excel - which one? Hello, when adding a reference to Excel in a project there are two choices, one is under the .Net tab for Interop and the other is under the COM tab. I would like to know the difference between the two. Is there a good tutorial somewhere? Basically I have data from SQL db in a datatable and I just need to upda... 23 Apr 2010 02:25
Help with String.Format Hello, I have a winforms app with some values in the app.config file I use to create a connection string to excel. Some of the values require quotes around the values within the connection string. Here is an example of the connection string: string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data... 22 Apr 2010 21:59
How to extract/integrate strings from Dialog and StringTablein a DLL? kaipei wrote: Hi, I'd like to extract/integrate strings from Dialog and StringTable in a DLL file. I do so because I'm working on a localization group. I need to find a solution to extract all English strings from DLL file and translate them. At the end, integrate those localized strings into DLL.... 22 Apr 2010 02:03
How to extract/integrate strings from Dialog and StringTable in a DLL? Hi, I'd like to extract/integrate strings from Dialog and StringTable in a DLL file. I do so because I'm working on a localization group. I need to find a solution to extract all English strings from DLL file and translate them. At the end, integrate those localized strings into DLL. I cannot find any open so... 22 Apr 2010 01:01
Run a PowerPoint presentation in a Windows Form How can I run a PowerPoint presentation in a Windows Form? I don't need to do anything except run it. I can't use the MS PowerPoint viewer because that opens in a separate window. TIA - Jeff. ... 3 May 2010 16:30
Can't find aximp.exe I'm trying to run aximp on the Adobe PDF com object. But I can't find it anywhere on my machine. I have both VS 9 and VS 10. Where is it located? TIA - Jeff. ... 21 Apr 2010 12:35
Question about sorting In the code below, where indicated error 1, I get this error message: Error 1 using the generic type 'System.Collections.Generic.IComparer<T>' requires '1' type arguments. What I really want to do is use CODE, WITHOUT MANUALLY selecting column three, to sort column three, and get the rest of listview in colu... 22 Apr 2010 04:07 |