-
Common error when uploading files ?
When I run the selected file and press upload image files the following error:
Compilation Error
Description: An error occurred during three days the compilation of a resource required to service this request. Please review the specific error details and modify sau your source code appropriately.
Compiler Error Message: CS0103: The name 'Common' does not exist in the current context
Source Error:
Line 51:
Line 52: / / file name to not be centralized file + extension of the file to upload
Line 53: strFileName = Common.GetFileName () + System.IO.Path.GetExtension (Hinh1.FileName) / / this line error immediately
Line 54:
Line 55: / / Path Large file I save
Common under which this namespace? I have tried namespace
using System.Data.Common;
but not
-
I don't think Common refers to a .NET Framework class; the only class I know of with a GetFileName method is System.IO.Path. Common may refer to a class or module in your solution. You might try opening the Object Browser and searching for "GetFileName" to see if it's defined somewhere in your solution.
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
By mattdel in forum VB Classic
Replies: 2
Last Post: 02-08-2008, 07:50 AM
-
By Ganesh Suryanarayana in forum ASP.NET
Replies: 1
Last Post: 08-02-2004, 03:00 PM
-
By Alan Shiers in forum Java
Replies: 1
Last Post: 12-17-2001, 07:37 AM
-
Replies: 2
Last Post: 01-02-2001, 08:35 AM
-
Replies: 0
Last Post: 07-19-2000, 08:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks