Questions tagged [.net-2.0]

The 2.0 version of the .NET Framework. For questions on .NET Framework generally, use the .net tag.

The 2.0 version of the .NET Framework.

What's New in the .NET Framework 2.0
.NET Framework 2.0 System Requirements

Released by Microsoft Corporation
Version Number: 2.0.50727.42
Release Date: 2005-11-07

2578 questions
1
vote
2 answers

Nullables? Detecting them

Ok, im still a bit new to using nullable types. I'm writing a reflecting object walker for a project of mine, im getting to the point where im setting the value of a reflected property with the value i've retrieved from a reflected property. The…
Aren
  • 54,668
  • 9
  • 68
  • 101
1
vote
1 answer

Dotfuscator from .NET 2.0

Is there any chance to see Application Runs on Codeplex with .NET 2.0 application? I explored Dotfuscator is using web service url http://so-s.info/PreEmptive.Web.Services.Messaging/MessagingServiceV2.asmx. Is possible to track application run event…
Václav Dajbych
  • 2,584
  • 2
  • 30
  • 45
1
vote
2 answers

How do you do an assignment of a delegate to a delegate in .NET 2.0

I just go the answer on how to pass a generic delegate as a parameter. Thanks for the help. Now I need to know how to ASSIGN the delegate to another delegate declarartion. Can this be done? Public Class MyClass Public Delegate Function…
Seth Spearman
  • 6,710
  • 16
  • 60
  • 105
1
vote
1 answer

ASP.NET 2.0 - scaffolding a database table for webforms

Can you recommend a tool that can analyze a SQL database table, read the table columns, and populate an .aspx page with appropriate controls (i.e. textboxes with matching labels)? See this demo of ComponentOne InputPanel for WinForms for the…
Francis Huang
  • 550
  • 5
  • 6
1
vote
3 answers

What is the best approach upgrading from .NET 2 to 3.5?

We've been developing apps since .NET 2 release and now we are planning to upgrade to .NET 3.5. What is the best approach upgrading from .NET 2.0 to 3.5? BTW ... the external components that we use are: 1. EntitySpace - ORM 2. Microsoft Enterprise…
dcpartners
  • 5,176
  • 13
  • 50
  • 73
1
vote
1 answer

Setting CPU target to x86 on .NET 2.0 project adds .NET 3.5 dependencies

I have a project in VS2008 that targets .NET 2.0 framework. It was original set to build for AnyCPU. I changed it to x86 and for whatever reason, VS adds the following lines to .csproj:
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
1
vote
2 answers

Can I have different '.settings' specified for debug and release configurations?

I have a .settings file (containing both User and Application settings) that I would like to contain different values if built in Debug mode. Is there a supported or recommended way to do this?
Mark Carpenter
  • 17,445
  • 22
  • 96
  • 149
1
vote
5 answers

ASP.NET Hide Length of Password During Entry

I have to hide the length of the password being entered during login of my asp.net web application. I know the asp.net textbox server control has the textmode of password but I can't even show the that. Any suggestions on how to hide the user…
Corin
  • 11
  • 1
1
vote
1 answer

Getting an occasional error calling WebServices

I have a ClickOnce app that calls WebServices on the server (standard ASMX style, not WCF). Occasionally, the users get this error: System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
1
vote
2 answers

The Type does not Exist in the namespace. Are you missing an Assembly?

I have 2 C# projects first one name is "Advocar" and the second one is "Import". There is a class in Advocar project which we need to access to that from Import project. So in Import project I added reference to Advocar. The problem is from Import…
Richard Gray
  • 149
  • 2
  • 11
1
vote
3 answers

.NET 2.0 DataGridView ComboBox column - slow to display items

Any suggestions on how to improve DataGridViewComboBoxColumn performace with large item sets? I've got a DataGridView with several columns of type DataGridViewComboBoxColumn. I'm databinding those combobox columns to a rather large collection (10k+…
Muxa
  • 5,563
  • 6
  • 46
  • 56
1
vote
1 answer

Sort DataGridView column of type Image

By default, DataGridViewColumn.ValueType Image cannot be sorted. That's understandable, but my images can be sorted in a logical way. I am showing one of three images depending on some state (Check mark, X, or Question mark). Question: How do I make…
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72
1
vote
2 answers

Will a brush be disposed if created in the call to a method

below is a fragment of code that is found in my paint method. I am not sure what it is called when I create an object such as the brush this manner, but never the less will it be disposed of properly, or do I need to be concerned about…
fishhead
  • 5,829
  • 7
  • 32
  • 43
1
vote
0 answers

ReportViewer: In Net4.0 should not throw an exception for requiring a System.Web.UI.ScriptManager

i'm migrating an ASP.NET web application from .NET 2 to .NET 4.0 and have a problem about the reporting side. The thing is whenever i try to call a report (via webservice reportServer), i have this exception : The Report Viewer Web Control requires…
julio
  • 2,762
  • 4
  • 22
  • 34
1
vote
2 answers

How to get DataTable to serialize better?

I have the following code that serializes a DataTable to XML. StringWriter sw = new StringWriter(); myDataTable.WriteXml(sw); And this works, however, the serialized XML looks like this: 1
AngryHacker
  • 59,598
  • 102
  • 325
  • 594