Type: Posts; User: JoeBuntu
Search took 0.01 seconds.
July 15th, 2010, 01:12 PM
when you edit a cell you are actually working with an editing control that is painted on top of the cell. Here this will get you started hopefully:
private const int...
July 15th, 2010, 01:01 PM
If you're trying to load a custom datasource into each row then here is what I have done:
Respond to the EditingControlShowing event of the dgView and pull the combobox editing control from the...
July 15th, 2010, 12:28 PM
I found this link that shows how to accomplish what I would like to do by setting the current directory. [url]http://geekswithblogs.net/willemf/archive/2006/09/14/91135.aspx[\url]
Is there a more...
July 15th, 2010, 10:54 AM
In a windows forms application:
I am storing a bunch of xsd schemas in a subdirectory of the application. I'd like to use these to validate some xml using a reader. As you see in my code below I...
try changing your DataContractSerializer to this:
DataContractSerializer serializer = new DataContractSerializer(typeof(TeamRow), "TeamRow", "");
As part of studying for the 70-536 exam I am forced to learn how to override the ConfigurationSection to create a custom configuration section.
Maybe it's just me but using the...
Using .NET 3.5:
I plan to build a .NET windows service application that will serve as a task scheduler that launches .NET assemblies. (yes there is a reason I am not using windows task scheduler for...
April 12th, 2010, 06:50 PM
you could drop the .Close() method on the StreamWriter since you are already using a "Using" block.
See this link:...
April 12th, 2010, 06:32 PM
this worked for me:
April 11th, 2010, 08:34 PM
What you have will work.
If you are not doing anything inside the constructor you don't need a constructor.
Now as far as formatting the text it sounds like you want to display the address into...
April 11th, 2010, 07:20 PM
Guid guid = Guid.NewGuid();
string filename = Path.Combine(someDirectory, guid + extension);
using (StreamWriter writer = new...
April 11th, 2010, 04:44 PM
I'm playing around with trying to learn CAS for my 70-536 exam.
My question - Is there a way to retrieve the permission set that an AppDomain is using?
I have created one assembly which creates...
January 20th, 2010, 08:49 AM
I have been tasked with creating a program that will run on our ftp server (Windows Server 03) and create files at configured times for our clients to pick up. It would need to be able to be...
December 12th, 2009, 02:00 PM
I guess I'll point out that in my example the custom list of items I am using is simply a subset of the datasource of the combobox column. If you add items to the combobox that are not part of the...
December 12th, 2009, 01:48 PM
I never ended up creating my own combobox - for time constraint reasons.
I did come up with a solution for giving each row's combobox a custom "datasource"
Pretty simple just do...
November 27th, 2009, 07:39 PM
I need a combobox in my datagridview which will meet the these two requirements:
1) The data source of the combobox will depend on the underlying business object that is bound to the row of...
October 25th, 2009, 07:02 PM
I hear what your saying but if my form is only executing on one thread then how could it possibly be doing two things, in this case the same block of code, at the same time?
October 25th, 2009, 06:21 PM
October 25th, 2009, 06:17 PM
I have a button on a form that runs the snippet below.
If you press the button rapidly it appears as though the code is running on a separate thread from the form shown by the debug output:
October 13th, 2009, 08:59 PM
I would plan to use this concept on multiple facets of my application but for the example I am referring to:
The parts list I speak of is the list of components that go into a Finished Product -...
October 13th, 2009, 05:41 PM
what you just said is what my procedure does. No matter what you do it never updates the actual part number, but does inserts and deletes even though the user might see it as simply changing the part...
October 12th, 2009, 06:36 PM
deleting and then inserting would certainly work - and so much easier for me to deal with concurrency issues - BUTTTTTT
I am going for maximum ease of use for the user. I want the user to be able to...
October 11th, 2009, 07:00 PM
In an app I am working on, on some of the forms I would like to allow the user to be able to change the values of fields that are part of a unique constraint in the database.
for example one of my...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!