Software Development Network Logo
  • Game Technologies
  • IE Development
  • Microsoft ISV
  • Visual C++
  • Windows Forms
  • Audio and Video
  • Visual C#
  • VS Team System
  • SharePoint Products
  • Smart Devicet
  • Windows Vista
  • Visual Studio
  • SQL Server
  • Visual FoxPro
  • .NET Development

Software Development Network >> .NET Development

.NET Development

New Question

Sql server 2005 ==> 1000 times slower than sql server 2000 ! WHY ?
Searching Database for results
XMLInclude / SOAPInclude error
Problem in accessing functions in a DLL
Find attributes in a XML file
set up of the project
Is this only possible in XPath 2.0
Error using tcpclient/tcplistener
Sending Mail From a Web Application
In Asp.net how to Execute a function even after closing a browser?

Top Answerers

carface
Horace Li
Doan Duc Long
rdkelly
ChiaraE
nicolajbor
AksaiGora
WoFe
Ning
jbelisle
sitemap
Only Title

Answer Questions

  • JustinM Close_Wait

    Hi.. when i run netstat and see that a socket is in a Wait_Close state.. how long does it wait! and can u modify that time thnx CLOSE WAIT state is defined as: The device has received a close request ( FIN ) from the other device. It must now wait for the application on the local device to acknowledge this request and generate a matching request. Therefore, it is up to the local application on your machine to send a reciprocal FIN (ie. close its side of the TCP connection) in order for the connection to trasition past the CLOSEWAIT state in the TCP state machine. ...Show All

  • AG Hunzian Visual Basic 2005 passing parameter to Oracle SQL

    Hi, I am using VS 2005, Oracle 9i, and have a question on passing a parameter to the query defined in a DataSet. All the examples I've seen use the use this syntax “ Select * From Customer Where CustomerId = @CustID” The problem I’m having is – I get an error on the @CustID. The SQL generator puts Quotes around it making it worthless. How do I do this Thanks VERY much, Carl From some ODBC programming I remember a syntax, where each parameter was just specified by a and you had to pass in parameters for such a call by adding them in the correct order. You may try that: "WHERE LASTNAME = ". Just a guess, might not work, though. -- SvenC In th ...Show All

  • Koder021 I'm fairly certain I'm losing my mind....

    For the past 3 days, I've been spilling my brains all over my keyboard in an effort to do something that should be ridiculously simple.... What's really driving me crazy is the fact that I've done it before... Here it is: I have a datatable in MS Access. In an effort to copy all of it's records to a table in SQL that I can access and better manipulate, I created an SQL Database in my Visual Basic program and made a comparable SQL Table. I gave all the columns identical names and comparable data values as the columns in the Access table. Now, I just want to copy the records from the Access table directly into the new SQL table. Here's the catch. I'm doing all of this through the DESIGN interface because the last line of ...Show All

  • Supernerd How to check the existence of object in an arraylist?? - in Visual C#.net

    Hi all, I have created one arraylist which contains no. of objects of a particular class. At the runtime i want to check whether a particular object is exists in the arraylist or not. I tried Contains method of arraylist. But it returns false. Can i check only the particular field existing in an object from an arraylist I m struggling for a solution for the past 2 days.. bt i didnt get the solution. e.g. // this property returns a arraylist which contains objects of 'Servicedetails' ulist = service.ServiceDetails; I am using a gridview which contains a set of service details. based on the selected item in the grid create a temporary object and assinging the values to the object and i am checking whether it is existing in the ar ...Show All

  • &#169&#59; Ţĩмό Şąļσмāĸ Urgent: SslState throwing exception deep inside HttpRequest at random

    We have a class in our website that calls Fedex's web servers to receive quotes using an XML interface. (This is part of our check out processes). Over the past few days we've started receiving Disposed Object exceptions randomly during our HttpRequest. The class that is throwing the exception is actually in System.Net.Security.SslState, which is deep inside Microsoft's framework library and not called directly. We have never had problems like this before, nor can we find references to it on the Internet. Fedex recently upgraded their systems, but claims we have done something to break our code, whereas the only change we've made in recent weeks was moving from .NET 1.1 to .NET 2.0. We've been running on this code for over 2 years and hav ...Show All

  • Thomas S. Andersen Using multiple SqlConnection objects, bad for performance?

    Hello, I am planning to use three databases on the local SQL Server. DB1 will be for App1, DB2 for App2, and DB3 will hold tables, that both, App1 and App2 need to access. With applications I mean ASP.NET applications. Obviously, I need in App1 and App2 at least two SqlConnection and SqlCommand objects, one that access their respective databases, and one that will access DB3. Will this result in a worse performance (The using of two SqlConnection objects in one aspx page as example, and switching them) Should I for better performance get rid of DB3 and add the tables there to DB1 and DB2 (Thus multiplying data, but, if the performance will be much better, it will be fine with me) I would be thankful for any advices. ...Show All

  • isaacb unable to access subfolders in public folders of Exchange2003 using websrvices

    Presently we are trying to access the System Folders in Exchange 2003 server, specifically Free-Busy folder using a application(web service). We are logging into Exchange Server With Administrators account and getting the public folders. From the returned public folders when try to list their subfolders recursively we receive the error ‘Unknown Trust Provider’ When we investigated it on exchange these folders maps under System Folder Category. We are required to access the Information in System Folder in order to generate one report. Please note that this works fine if NT service is used instead of webservice. kindly advice as to how to resolve this issue ...Show All

  • Lu&#237&#59;s M. Costa Does it anyway that I can use .net 2.0 to generate an XML Excel Workbook

    Does it anyway that I can use .net 2.0 to generate an XML Excel Workbook. Does Microsoft have an object support for that If does, how If doesn't please show me the way. Thanks See also http://msdn.microsoft.com/office/tool/vsto/default.aspx . You can use XmlWriter to create any XML so it is possible to create an Excel XML with .NET 2.0. It however needs detailed knowledge of the Excel XML format (respectively the Office XML format as there are elements used in several namespaces). If Excel is installed then it might be easier to automate Excel to create a workbook and then save it in the Excel XML format. ...Show All

  • Swapna.B. Help with TripleDES and RC2 cryptography.

    I have 2 questions - 1) I get the following Exception when I try to decrypt data using TripleDES. - "An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll Additional information: Specified initialization vector (IV) does not match the block size for this algorithm." How do I make things right The code is as follows - /* Provides TripleDES encryption and decryption using classes in the .net Framework 1.1 */ public class TripleDES_Cryptography { public static string Encrypt(string plaintext, string key, string IV) { TripleDES des3 = new TripleDESCryptoServiceProvider(); des3.Mode = CipherMode.CBC; byte[] by_plaintext = Encoding.ASCII.Ge ...Show All

  • sugrhigh System.Security.AccessControl Problem

    I need several classes from the System.Security.AccessControl Namespace (FileSecurity, FileInfo.GetAccessControl method...) and that namespace seems to be new in .Net Framework version 2.0. i have installed that version but my visual studio is using the old version of mscorlib.dll i.e. file version 1.1.4322.2032 and when i try to reference the new version of the file mscorlib.dll (which is part of .NET framework version 2.0) i.e. file version 2.0.50727.42 a get the message that the reference to that file could not be added with the explanation that the file is not a valid assembly or a COM component!! Please help! it is quite urgent... VS2003 only supports v1.x and VS2005 only supports v2.0 (without the beta of MSBee). You ...Show All

  • ceedee How to map enumerated types in .Net WMI provider?

    I am trying to create a C#-based .Net WMI provider to instrument an application I am developing. Classes and events work well except I would like to have an event that provides a member which is an enumerated type. Example: public enum StatusList { Running, Paused, Stopped } [ InstrumentationClass ( InstrumentationType .Event)] public class StatusChange : System.Management.Instrumentation. BaseEvent { public StatusList Status; } It seems to me that WMI supports enumerated types because they appear in the server explorer. Also when I generate C# WMI classes using that class generator, I get enumerated types in those classes. When I run the code above, I get the following err ...Show All

  • Japu How to eliminate the blank line

    I have a 2 questions... This is the 1st question. I am using a dataset to populate the XSL file. In the file there is a field --> COMPANY_NAME. The field value should only be see if the value is not equal to 'Individual'. I am achieving this by the code below. But if the value is 'Individual' then I am getting a blank line where this field is placed. How can this blank line be eliminated and also How can I test for a null value < xsl:choose > < xsl:when test ="not(dc:COMPANY_NAME = 'Individual')"> < xsl:value-of select ="dc:COMPANY_NAME"/> </ xsl:when > < xsl:otherwise > </ xsl:otherwise > </ xsl:choose > ...Show All

  • qrli Shutting down network computers?

    I suspect that I once again have someone leeching of my Wireless router again and I can't connect and lock it for some reason. So I thought perhaps I could shutdown the computer who is leeching off my network As a lesson :P There are probably a lot of software out there that could do this but it would be nice to learn how I could create such software. how exactly are you shutting them down I believe from the initial response I accidently forgot to add 2 backslashes extra since its an escape character in C# it should be: \\\\computername when using the shutdown util Error 1 The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembl ...Show All

  • St&amp;#233;phane Beauchemin How to print out the CommandText which include the parameter?

    hi , anybody know how to use debug.writeline to print out the query text which include the parameter i try to use debug.writeline(UpdateCommand.CommandText.ToString), but it just print out the update query without the parameter value. anyone know how to do thx thankyou  very much~~!!       Debug . WriteLine ( updatecommand . CommandText ) For Each p As OleDb . OleDbParameter In updatecommand . Parameters Debug . WriteLine ( p . ParameterName & " : " & CStr ( p . Value )) Next ...Show All

  • Samuel369 FileLogTraceListener class - implementation ?

    Hi friends, Anybody tried using the FileLogTraceListener class for data logging to text files I've been reading this and getting more confused. If any noble, generous soul can explain it to me or better still share the code snippets to make it work I would be highly obliged. Thanks, Kunal Hi All, Thanks to Michael, Johan and Peter for taking out time to go through my problem. Well, you have to pardon my ignorance. I'm a newbie in .NET/C# and have all along been associated with embedded systems. I have been thrusted into working on this project and am learning each day and get confused easily. My requirement is to write different pieces of information to different log files from different locations in code. A ...Show All

242526272829303132333435363738394041

©2008 Software Development Network

powered by phorum