.net-1.1

Get a boolean value from DataTable

冷暖自知 提交于 2019-12-10 17:31:01
问题 How do I retrieve a Boolean value in dataset, I'm using visual studio 2003,I am trying the following, but it's not working: //if product inactive, don't display, and redirect to main page if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].Equals(0))) I even tried, but not working: if((dbDataSet.Tables["productGeneral"].Rows[0]["Active"].toString() == false) the columns name is ["active"], the value with in column is either True or False, using sql server 2000 please help 回答1: You need

How is IDisposable implemented on FileStream in .Net 1.1

心已入冬 提交于 2019-12-10 14:43:42
问题 This might seem like a noddy question, but I was looking at this because I heard someone claiming that you must call Close() on a FileStream, even if it is in a using block (and they have code where Close() is being called right at the end of the block). I know that Close() is meant to call Dispose(), but I thought I'd look deeper since this is .Net 1.1 code, and the bulk of my experience has been with 2.0 on. One thing that struck me was that the MSDN documentation for FileStream has Dispose

Error while running .Net 1.1 Application in visual studio

可紊 提交于 2019-12-09 13:44:15
问题 I get the following message when I try to run a .net 1.1 web application in Visual Studio 2003: Error while trying to run project.Unable to start debugging on the web server. There is no managed code running in the process. In order to attach a process with the .Net debugger, managed code must be running in the process before attaching. Can any body tell what I am missing here. FYI : The application is working fine on the live server. 回答1: Have you tried the following? Right click the ASP.Net

Best tool to decompile a C# .Net 1.1 application [duplicate]

大城市里の小女人 提交于 2019-12-09 13:22:54
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: A .net disassembler/decompiler Is there a “free” alternative to .NET Reflector? A good while ago we wrote C# .NET 1.1 application for a customer and during the process of office moves and redundancies, the source code was not checked into Source Safe. The customer has now reported an issue and we don't want to rewrite the app from scratch. I believe we should be able to get the source code by decompiling the

How do you pass user credentials from one process to another for Impersonation in .NET 1.1?

巧了我就是萌 提交于 2019-12-08 13:54:17
问题 I have a Windows Service (written in .NET 1.1) running under a specific user account and instances of the service running on several servers. I would like to pass user credentials (username, password, domain) to the service from a WinForms application and have the service read/write files in the server's local file system impersonating the passed-in credentials. Is it better to pass the username, domain, and password and have the Windows Service perform the Impersonation? I don't see how to

UIP Application Block in .NET 4

我的梦境 提交于 2019-12-08 11:13:11
问题 I am involved in migrating a legacy application built in .NET 1.1 to .NET 4. Is UIP (User Interface Process) still available in the latest released of EnLib 5? If no, what are my options? Regards, Karan Misra 回答1: Assuming you are talking (as in the Title of your question) about the User Interface Process Application Block, there have been no new official releases since 2004, as you can read here. The options you are talking about really depend on the usage UIP was given. Take into account

textbox value change not being reflected in code behind c#

非 Y 不嫁゛ 提交于 2019-12-08 06:47:54
问题 I am using .NET framework 1.1 with C#. My problem description is given below. I have server side textbox control with id:= txtFromDate . view state is enabled and its readonly. when page loaded for the first time i am setting current date value in above textbox. after that I change the value of textbox with jQuery. then posting back the page using jQuery with some __EVENTTARGET parameters. I am using this changed textbox value in my code behind. I have developed code in window XP machine 32

Excel Programming: Exception from HRESULT: 0x800A03EC. at Microsoft.office.Interop

旧街凉风 提交于 2019-12-06 06:48:09
问题 I have created a small application which opens,reads and creates Excel files. The app has been written in C# and I don't know why I get this error message when the application is running in one computer. I have run the same applicaiton on my computer and I don't have any problem. Can somebody help me and let me know why happen this error? thanks 回答1: First of all, I suspect the HRESULT was really 0x800A03EC (it's kinda important to communicate the exact number if you are talking error codes ;

Asp.net on visual studio .net 2003 web component Issues

亡梦爱人 提交于 2019-12-06 05:13:35
问题 I want to run ASP.NET on VS 2003 but it raises an error which says: "Visual studio has detected that web server is running asp.net version 1.0.The web application you are creating or opening can be configured to be compliant with asp.net 1.0. However, the web application will not be able to use the new features from asp.net 1.1." When I choose the option " Make the application compliant with asp.net 1.0 ", then it is unable to set the compliance saying "Visual Studio.NET cannot create or open

web.config batch=“false”

那年仲夏 提交于 2019-12-04 15:47:05
问题 What is the purpose of adding the batch="false" in the compilation tag in ASP.NET 1.1? 回答1: MSDN says the purpose of the batch flag eliminates the delay caused by the compilation required when you access a file for the first time. When this attribute is set to True, ASP.NET precompiles all the uncompiled files in a batch mode, which causes an even longer delay the first time the files are compiled. However, after this initial delay, the compilation delay is eliminated on subsequent access of