First  |  Prev |  Next  |  Last
Pages: 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
comboBox from enum?
Say I want to add a comboBox to a form and have it populated with the enum of an object. Is there a way to do this quickly? I've been creating the list by hand. Thanks, Dan. Like for Markers: namespace System.Windows.Forms.DataVisualization.Charting { // Summary: // Specifies a style for markers... 12 Mar 2010 18:27
xml and xml schema
Hi! Here I have a method that serialize a DataSet to a file by using xml. private void SerializeDataSet(string filename) { XmlSerializer ser = new XmlSerializer(typeof(DataSet)); DataSet ds = new DataSet("myDataSet"); DataTable dt = new DataTable("myTable"); DataColumn... 7 Mar 2010 12:58
LINQ: Select records but enforce one field to be unique
When selecting records by forcing one field to be unique, is it necessary to use the .Distinct(...) function with an external comparator? EX: Say you had a list of purchase records...multifields. You want to get -just- a list of people who had bought items. The 'purchaser' field must be unique, so you don't jus... 7 Mar 2010 00:59
VB6 OCX In C# Windows App
Trying to use a MagTek mag card swipe reader in a C# Win app. The only API MagTek offers for Windows is via VB6 OCX (COM DLL). I can use the DL and its methods in a VB .NET app with no problems, both in VS 2008 and in direct execution of the VB app in Windows outside the IDE. I developed a simple C# app (ident... 7 Mar 2010 16:17
C# working with reporting services
I have the following questions about creating sql server 2008 reports with 2008 I am creating a report that will contain the following: a. page header with the title of the report, b. page footers that contain the page numbers, and c. table of contents to tie about 27 subreports together, d. sever... 6 Mar 2010 12:58
sort array of strings using for loop
Hi everybody. I have a problem with sorting an array of names. I have a txt file with a names e.g. "Jack, John, Bob, Adam, Paul". All i have to do is write the names into the individual cells of new array and than sort it by an alphabet using for loop and write it out into a new txt file. I just after figuring... 6 Mar 2010 08:33
Save changes for a custom configuration section
Hi there, I've defined a 'Foo' configuration section in my App.config file: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="Foo" type="FooLib.FooConfigSection, FooLib"></section> </configSections> <Foo label="Foo Label"></Foo> </configuration> ....and... 10 Mar 2010 09:42
Shocking mistake with comparitor function by Microsoft programmers!
RayLopez99 wrote: On Mar 3, 11:40 am, G�ran Andersson <gu...(a)> wrote: Arne Vajh�j wrote: And it is good to know about JavaScript when commenting about the correctness of JavaScript code. As this is the C# newsgroup, I can understand why Vanderghast made the quick assumption that it was... 7 Mar 2010 20:42
Which control is producing the ContextMenuStrip
I have severall treeview controls on my form, and each has the contextmenustrip property set to mnuMain. That is, if you right-click on any tree, you get the same contextmenu. Is there some way, in mnuMain_Opening, that I can tell WHICH tree is opening the menu? Dom ... 4 Mar 2010 11:13
Is there anything you feel you DON'T know about C#?
"Arne Vajh�j" <arne(a)> wrote in message news:4b8da029$0$283$14726298(a) On 02-03-2010 06:30, RayLopez99 wrote: <<>> I have learned everything there is to know about C#. Last year I was at 90% after a year of study, this year I'm at 99%. Next year, 99.9%. Anybody else f... 6 Mar 2010 15:11
First  |  Prev |  Next  |  Last
Pages: 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76