Answer Questions
MyNameisMud OPENXML: Error inserting xml into SQL Server 2000
I am having trouble inserting xml data into SQl server using the OPENXML. This is the SP I have. When I pass small XML content the Insert works but not when i have a bigger XML file. ALTER PROC uspW3TeamList @doc text AS BEGIN DECLARE @idoc int EXEC sp_xml_preparedocument @idoc OUTPUT, @doc INSERT INTO SportsSchedule (TeamName1,TeamName2,GameDate,GameStartTime,InsertedOn) &nbs ...Show All
GwapoJoe .Net remoting singleton class Issue
Hey, We have a website that is in asp and the website basically encrypts the credit card info and then through remoting the information is passed to a different server where it gets decrypted before reaching mainframe. We have used Singleton class for decryption for better performance but it looks like the decryption process fails once in a while when multiple web requests tries to access the decrypt what I mean is as the load is increased th ...Show All
flavio2007 When to use TableAdapter.Update(DataTable) method?
I'd like to know how can I use the TableAdapter.Update method so that I can update the database that I use whenever a user adds, modifies or deletes a row in a datagridview control. I suppose that I should handle the CurrentItemChanged event of the BindingSource that the DataGridView uses but I'd like to see a full example. In other words I'd like to create a WinForms application with a DataGridView that has the same capabilities as the DataGrid ...Show All
Frances Huang Custom Applicationexception question
I have just created an exception class with a base class of system.applicationexception. The question I have is what is the best way to use them. For example, say I had a class to read a csv file, the possible exceptions I could see occuring are 'invalid data','error opening file','Error reading from file'. I am sure there are more but this will do for this example. Now would I have one exception class that can return all of the ...Show All
David Felker Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
It is my understanding that when using a TableAdapter and selecting the proper options, Insert, Delete and Update statements are generated. The Update statement should work just using the following: myTableAdapter.Update(changes); Where changes is the DataSet containing the modified data. This logic works great for one of the tables in the DB but not for another. Learning this new stuff is Confusing at best - Frustrating at worst. Help appre ...Show All
David Tran HTML to Image
C#, .NET 2.0, Windows App Simple question... open to any ideas... I have an html file on my disk. I want to create an instance of an Image (or Bitmap) object that represents what that HTML looks like when it is rendered in a Browser. I know the size the Image has to be. I know IE7beta does this and also AOL's browser... Any thoughts, ideas Thanks Rob If you need 1:1 scale of H ...Show All
jamzmar Tooltip for each items in select box
Friends, Some of the items in my listbox(Select box in html) are too big to display. Can I have a tooltip that displays the same text when I move over it If so, how Any help or suggestions would be appriciate. Thanks & Regards, Shiby Did you find the answer, I really need it please send me if you find any answer. Thanks in advance --Durga ...Show All
StaC Did asynchronous execution change in 2.0
hello, i have this code that called method asynchronously through the delegate class with the begininvoke and endinvoke methods. Exceptions could be thrown withing the methods which were always caught by the framework and rethrown when endinvoke was called. Has this now changed as my exceptions are no longer being caught and rethrown, and just bringingt the whole app down as they are unhandled. he is sample code that i use to denote the changes. ...Show All
kapilp How to handle control characters
I'm encountering invalid-character errors when attempting to load XML from a third party. For example: "' ', hexadecimal value 0x01, is an invalid character. Line 70, position 9." The problem character in that case is an "SOH" control character, which looks like a little rectangular box in my text editor. Is there a common best practice for handling these Perhaps a simple search and replace routine to remove characters wit ...Show All
japreja Waiting for multiple events
Hi! Is it possible to wait for multiple ManualResetEvents in .NET cf If not, is it possible to interrupt a thread that is blocking on an event Thanks in advance, Nille Thanks, nope man, i can see there is no waitall method on waithandle on the cf, sorry i can't help you further, try posting the question on the Smart Devices---> .NET Compact Framework Forum, i'm sure you'll have better luck in there ...Show All
Vin Brown Using Webcam in ASP.NET application.
Hi All, I want to use the Webcam in asp.net application (live demo). Anyone have the idea or related links , plz forward to me. Thx Hi, This question is not related with XML. Please try ASP.NET forum for this. Thanks! ...Show All
FlávioOliveira Sign a XML file by SmartCard on the .NET
Sign a XML file by SmartCard on the .NET I'm having problems to access the private key of the certificate stored on the chip card. If i access the private key of a certificate with private key stored on the machine certificate store it works well.....but in the case of the chip card, when i read the X509Certificate2.PrivateKey property, i receive a System.Security.Cryptography.CryptographicException: There are more data available. If so ...Show All
Ronan Jordan Compatibility of various SQL Server Editions?
Is SQl Server 2005 Express Edition software compatibile with SQL Server 2000 software A few months back I upgraded my computer system. However I did not re-install the SQL Server 2000 Developers Edition software which I purchased, 2-3 years ago. I recently installed Visual Basic 2005 Express Edition along with Sql Server 2005 Express Edition. I believe the latter software was to replace the MSDE software available in SQL Server 2000. Wo ...Show All
Wayne Pfeffer How to Hide original IP while using HttpWebRequest/Proxy support
Hello friends, I am developing Windows Application and using HttpWebRequest. My requirement is, While sending a request to a URL, I want to hide my IP address, or I want that the requested URL gets some other IP from My request. Can anybody suggest how to do this Rgds, Kiran Suthar. If your proxy server doesn't forward the originating IP address out, then yes, that would work. I have no idea why you want to do this, ...Show All
Benson Margulies how to know at client that a listener has connected
Hi, I am implementing async socket. I have a client and Server(listener). When a listener disconnects I get notified in OnReceived call back function. Is there anyway I can find out when the listener starts listening again FOe xample, I have an application that has start listening and stop listening buttons. When I click stop listening the client gets notified in its OnReceived function. NOw if I click Start listening then client does'nt get ...Show All
