Answer Questions
Shiamak TypeForwardedToAttribute Class
Does anybody here have complete information about .Net Framework 2.0 TypeForwardedToAttribute Class In MSDN we don't have enought information. This link will help you. http://en.csharp-online.net/TypeForwardedToAttribute http://geekswithblogs.net/claeyskurt/archive/2006/06/28/83481.aspx Sunil Chalmeti Here is the MSDN VS 2.0 documentation for TypeForwardedToAttributeClass: http://msdn2.microsoft.com/system.runtime.compil ...Show All
rajas Very slow data loading into DataTable from Oracle
I'm a newbie to VS2005 and .NET and trying to load about 20,000 records from an Oracle table into a datatable. I've tried the design-time methods like TableAdapters and it is so slooww. I've also tried a couple of programmatic methods like OracleDataAdapters and and OracleDataReaders. The result is the same - about 10-12 seconds to load 20,000 records. That can't be right, surely As a comparison I tried the same function within a Delphi 2005 ...Show All
David Levinson IXmlNamespaceResolver as an argument??
I am using Visual C++ 2005 and want to read typed data from a xml-file. In the XmlReader Class there is a function called " ReadElementContentAs" and in the documentation the function looks like this: public : virtual Object^ ReadElementContentAs ( Type^ returnType , IXmlNamespaceResolver ^ namespaceResolver ) I am a little bit confused about what i am going to replace " IXmlNamespaceResolver ^ namespaceResolver& ...Show All
Gary Harpin Data Adapter Updates not happening
I have an Infragistics grid bound to a BindingSource, that in turn is bound to a strongly typed dataset. I want to add a row to the grid, then when the user click the OK button, save the new row back to the SQL Express database I am using. In the OK button, I have this code: this .productFeatureBrowserDataSet.Versions.AcceptChanges(); this .versionsTableAdapter.Update( this .productFeatureBrowserDataSet. ...Show All
Ernesto Vasquez. Missing Files in Microsoft.NET\Framework\v2.0.50727
Norton System Works' WinDoctor has found the error of C:\Windows\Microsoft.NET\Framework\v2.0.50727\ missing files and I believe Windows should address the issue. When I run Norton WinDoctor on my home PC, the following problems appear, with no repair capabilities: Missing program files (10 Problems): C:\Windows\Microsoft.NET\Framework\v2.0.50727\AppLaunch.exe C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet.reiis.exe C:\Windo ...Show All
Karlo47 DataLayer.Primitives Public Version Released!!!
Hi, It is my best post in my blog. DataLayer.Primitives is very useful code block oriented to DataLayer in .NET Applications. http://guydotnetxmlwebservices.blogspot.com/2004/11/datalayerprimitives-and.html Download source code!!! ;) Javier Luna http://guydotnetxmlwebservices.blogspot.com/ Hey Javier, It would be great if you provide a writeup for DataLayer in english as well. I am unable to understand the content on the provided URL . ...Show All
blueboss Decimal points in computed Value in SQL
I have this SQL stmt in SQL 2000: Select Qtr1Val, Qtr2Val, Qtr3Val, Qtr4Val, (Qtr1Val + Qtr2Val + Qtr3Val + Qtr4Val) As YTDSubj From PayRollHistory Where EmpID = '000003' These columns are SQL datatype Float. When I run this in Query Analyzer YTDVal shows something to the right of the decimal point. However when I run it in ADO.Net and get the result via a dataview, the SQL-computed value is rounded to the nearest dollar. ...Show All
Alessandro Contenti UnauthorizedAccessException thrown on Directory.GetDirectories(path)
All, I am trying to build a tree structure out of the directories on logical drives. In doing so, I am getting the unauthorized access exception as above when I call GetDirectories method on a system folder. Basically what I wanna be able to do is to display the folders/subfolders as nodes in a treeview but NOT the system folders. See how Notepad only displays folders on C: drive like ProgramFiles, Windows and other user folders. But the Dire ...Show All
TheFoZ How to get the old typed dataset
When I create a new typed dataset on v2 by dragging the tables into a dataset component surface I get a lot of stuff that I don't want like dataadapters, queries, connection strings, etc. I want a type dataset the way v1.1 used to do since I have my stored procs and I use SqlHelper for for all dataadaptor creation, etc. How can I get that I can't work with this new way that seems designed for unskilled users but that makes things mo ...Show All
E_STR Problem to access web service via ISA server
Hi, I have the problem to access web services. The machine is behind the ISA 2000 server. When I try to add web reference, it will pop up the screen to enter the username and password. However, I enter the the username and password for our domain, it comes up the following message "The request failed with HTTP status 403: Forbidden ( The ISA Server denies the specified Uniform Resource Locator (URL). )." Should I configure the ISA to allow ...Show All
Scott Waye2 Help required on remoting
Hi, I'm using remoting in .Net I'm getting the following exception message during deserialization... "Because of security restrictions, the type XXX cannot be accessed..." Here is the Stack Trace: Server stack trace: at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject(Type type) at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr) at System.Runtime.Serialization.Formatters.Binary.O ...Show All
drdvorak Implementing Optimistic Concurrency Control using Datasets
I have designed a data access layer in which all the updates happen using the data adapter.update(dataset) method. The problem I'm facing is that by default the 'Last In Wins' concurrency is being done. I mean the last update is potentially overwriting all the other updates done. The requirement is to implement an optimistic concurrency approach meaning that if two users A and B have datasets of table X and if User A updates the table X ...Show All
John Saunders Constraint Exception on AutoIncrement column after adding 'n' new rows & calling Update
Hi all, Doing some stupid here, please put me out of my misery. I have a single 'user' table, in which the 'userid' is the auto-incrementing primary key. This is added to a typed dataset. I then add multiple new rows: for (int i = 1; i <= 11; i++) { // Add new Users row DBUpdateTestDataSet.UserRow row = this.dbUpdateTestDataSet.User.NewUserRow(); row.LastName = "LastName " + i.ToString(); row.FirstNam ...Show All
g-gallaway Adding e-mail addresses to System.Net.MailMessage.To collection (+)
I might be mistaken, but in spite of MSDN saying, that MailAddressCollection.Add(string addresses) can be used to set address es , it doesn't want to recieve string like that "1@1.com 2@2.com", throwing an exception with the message: "The passed string is not in correct format of e-mail address", or something like that. So the question is - is it somehow possible to add several e-mail addresses into MailAddressCollectio ...Show All
Ashok76 User App Settings not binded in C#
Hi, I'm missing something here. I've been thru the posts and help to no avail. I bind a property in a C# form (WindowState as an example) using the designer. When the form close, I call Properties.Settings.Default.Save(). The save works. The problem is that the value of the setting isn't updated. By debugging, I can see that the form value (this.WindowsState) has changed, but the setting value ...Settings.Default.WindowsState has not been ...Show All
