Answer Questions
saripiso TableAdapters.....
Is there a way to expose the SqlDataAdapter within a TableAdapter as a Public property even after re-generating the TableAdapter I can't use TableAdapters, because they don't expose the SqlDataAdapter as a Public property since I need to pass down the DataAdapter to a separate DB I/O method. Not a generated DB I/O method within the TableAdapter. I'm forced to use the Component Designer and create a SqlDataAdapter like I have been doing in VS.Ne ...Show All
Sailu Tips and tools for finding out why serialized files are so big
[VS.NET 2005 Beta 2] Hi, I was wondering if anyone knows of any tools that can help determine why (binary) serialized files are bigger than expected Maybe something that graphs the serialized objects in the file If not, does anyone have any tips for finding out I'm sure I can work it out with tracing but it would be good to hear if anyone knows any shortcuts! Cheers, G. under .NET Remoting Tc ...Show All
Skyline58687 Loading application efficiently
Is there a better way to improve startup performance of my application I had a form wherein it had 2 comboboxes and 2 datagridviews, each and everyone bounded to their respective tables in my databse.The tables happens to be of large data so evidently it takes so much time before my applications starts up.It takes about more than a minute(mind you) before the the application shows up, which is obviously not the way it should be.I am usi ...Show All
AquaLunger Create such a Proxy
How can I create an application that receives an URL of a web site from a remote computer (another program created by me), proccess the web site and return HTML and Images to the computer that requested the web site so it will be able to view the web site even if it doesn't have direct internet connection (only the computer when the proxy application will be installed has internet connection) A detail.....this proxy app, must run in backgrou ...Show All
James HSia run at startup
Hello, how can i add my app to the windows startup programs could anyone explain it to me thnx a lot The easiest way to do it is to add a registry key to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run that names both your application and the path and arguments for your app. Take a look at this Code Project article on working with the registry to ...Show All
iret Update requires a valid UpdateCommand when passed DataRow collection with modified rows
I m coding with VB.Net. I have a datagrid on my form with a dataset as its datasource. The dataset contains rows from a joined two tables: Feature table and Price table. Feature table contains the customers'features. It has the ID of the features, the date the feature was added, the expiry date, the employee who added it.... The Price table is a look up table that contains the ID,price, Code, description and name of each feature. So my SQLquery ...Show All
GarethJ - MSFT Unable to convert input xml file content to a DataSet from DataSet Designer
First of all, here's the error: Error 1 Unable to convert input xml file content to a DataSet. 0 is not a valid value for Int32. Input string was not in a correct format. C:\Documents and Settings\dolan\My Documents\Visual Studio 2005\WebSites\ReproProject\App_Code\DataSet1.xsd 1 Second: I didn't do anything other than drag a table from server explorer into the designer. Immediately I save it and try to build the website as a test and get t ...Show All
Roman Golovin MSFT search a string for a special character
Hi, I have a string and I want to find if that string has ETX charater (End of Text) in it. ETX is a special character with a DEc value of 3, HEX value of 3 and Oct value of 003. So basically, I jsut want to find a character within a string using that character's DEc, HEX or OCT value using VB.net Thanks Thanks, Might sound very basic, but how can I do this casting from integer to character in VB.net ...Show All
ashu_garg Parameters.AddWithValue Output parameter in ADO.NET 2
With ASP.NET 2.0, SqlCommand.Parameters.Add is depreciated and will no longer work. It is being replaced with Parameters.AddWithValue. Can anyone post an example of how to construct an OUTPUT parameter in .NET 2.0 There's only one Add method that's obsoleted, the method that accepts a string for the parameter name and an object for the value. As you noted, you should call AddWithValue inst ...Show All
uotmiem Sample certificate folder missing from WSE sample
Sample Certificate folder missing in quick start examples for WSE 3.0 released 11/07/2005. How do I get it I have a windows XP home machine and running VS...I get this error when trying to run the setup.bat from the VS command prompt *********** NOTE: This batch file must be run from a Visual Studio 2005 Command Prompt ************ ******* Important ******* By default ASP.NET v2.0 is not set as the active vers ...Show All
Garrad Getting data from the server to the client?
I have a server that does lots of stuff. I have a client that can create remote objects on the server. I need to get data from the server to the client but I am having problems. I think there is an obvious solution but I am just not seeing it. Here is the scenario: The sever starts up and makes a configuration list instance. The server holds this list in its memory and often updates the data with ...Show All
dart_board Problem updating child table i relational database
Hi folks, realy hope to get some help...I have a problem trying to update the child table in two relational tables (let say Orders 1 --- 00 OrderDetails). I'm getting the folowing error every time: " You cannot add or change a record because a related record is required in table 'datatable'" The fact is I have the desired record and records in the child table, but when I'm trying to add some more - this message shows up... ...Show All
Erik ETS Log files and cans of worms
Hi, I'm quite sure this could start a lot of arguements :p. If i am creating a log file that is constantly added to during the lifetime of my program, is it best to have a permanent Streamwriter object that i write to and then flush after each comment, or to spawn a new one each time i need to add to the log Or maybe there's some magical medium i haven't heard of Forget the postcards, just post your answers here instead. James. ...Show All
SGrieco OCI-22053: overflow error caused when retreiving valid data inserted using System.Data.OracleClient
See the following example of how to insert a valid numeric value (a Decimal) using the System.Data.OracleClient that cannot be retreived using the same System.Data.OracleClient. It is apparently some sort of bit-wise translation error between the Oracle Client and the Microsoft Data Provider. This test was run with VisualStudio2003 and Oracle 9i Client v9.2.0.4.0 connecting to Oracle Server 9.2.0.4.0, all running on Windows 2000 SP4. ...Show All
WN3335 Can I depoly WSE 2.0 in ClickOne?
Hi, Can I depoly WSE 2.0 in ClickOne No, version 3 is not really different in that regard. WSE 2 should work fine in ClickOnce, so long as you ensure that your calling code runs with full trust. ClickOne application can be set to fully trusted. Are you suggesting to use WSE 3.0 instead Thanks. Well, WSE 2.0 does not allow partially trusted callers, so.... ...Show All
