Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 16th, 2007, 05:14 AM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem importing namespace

Hi guys, not sure this is the right place but...

I'm working on a system that charges credit cards with a third party website and I have this page "pay.aspx.cs" which includes some functions for the connection with their site.
this is the file:

using System.Collections.Specialized;
using System.IO;
using System.Net;
using System.Text;
namespace Pay
{
public class SynchronizeCall : System.Web.UI.Page
{
public bool Load_Page(object sender, System.EventArgs e)
...


I compiled it with csc.exe and put it in my bin folder, but can't import it. i used
<%@ Import Namespace =Pay %>

but i get this error

BC30466: Namespace or type 'Pay' for the Imports 'Pay' cannot be found.

any help... please...?

 
Old March 16th, 2007, 02:03 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

can you try with this one

<%@ Page language="c#" Codebehind="pay.aspx.cs" Inherits="Pay" %>

Regards
Ganesh
http://ganeshprof.blogspot.com
Find your solution here...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem importing CSV hman MySQL 0 January 6th, 2007 09:13 AM
Namespace Problem JRMotz BOOK: ASP.NET Website Programming Problem-Design-Solution 1 November 12th, 2005 03:18 PM
Problem importing dates IronStar MySQL 0 April 16th, 2005 05:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.