blah blah blah is here! blah blah » Close

0
votes
1 answers

Problem in painting custom panel control (.Net Framework 4.0).

I have inherited the standard panel control to create a panel having custom border color. The problem is, while the panel is on a form and any other form is moved across it, it paints hapazard lines of the same color as the panel custom bor ...

0
votes
1 answers

How to set borderstyle of a datagridview column at runtime (.Net Framework 4.0)?

I have a readonly datagridview that is bound to a datasource. It has two columns. Now I want the first column to have no cell borderstyle; and the second one to have 'All' (i.e. all sides of the cell shall have a border) as cell borderstyle ...

0
votes
0 answers

C# Linq to Entities - Reference.EntityKey

C# Linq to Entities - Reference.EntityKey Now that I have built a database and here is the corresponding SQL code: [url]http://www.mediafire.com/?f4a0d74j7qe7a1f[/url] Visual Studio 2008 SP1’s ADO.NET Entity Framework has g ...

0
votes
1 answers

Make sure people dont need the framework

Hi I made a program in visual c# using the .NET 4.0 framework What dll's do I have to include so people don't need to download the whole framework? greets

0
votes
0 answers

Excel process continues running (.Net Framework 3.5, VS.Net 2008, VB.Net 2008).

Hi, I'm calling the following method from a button click event to export a datatable to excel. After the export is completed, the excel application object is quit, released and assigned to nothing. But in reality it's not getting released a ...

0
votes
1 answers

Problem in button (.Net 2008, Framework 3.5).

When a button is focused by pressing Tab key, a rectangle appears on it. Even if the button's TabStop property is set to false, when the button is clicked with mouse the rectangle appears. Is it possible to stop the rectangle from app ...

0
votes
0 answers

Problem in ToolStripButton (.Net 2008, Framework 3.5).

Hi, I have an editable datagridview that's been databound with dataadapter and datatable, and a normal button on a form. When i edit the dgv's cells and click the save button it fires the datagridview_cellvalidating event and if the cell ...

1
votes
2 answers

List<T>.Add is not guaranteed to be thread-safe

.Add is an instance method. That means it's not guaranteed to be thread-safe. What does this mean? Possibility 1. That if two threads invoke .Add on different instances, there could be an unexpected result depending on the phase of ...

1
votes
1 answers

ironic thread-safety

Is it or is it not ironic that Microsoft often says that static methods of a Framework class are thread-safe but instance methods of the same class are not guaranteed to be thread-safe? It seems it would be easy to make instance methods ...

1
votes
1 answers

Using Timer or Thread

I have a little knowledge about thread but know nothing about using Timer in .NET Can anyone give some tips about what it is, and when it's used?

Feedback