Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 16th, 2007, 05:14 AM
Registered User
 
Join Date: Mar 2007
Location: , , .
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...?

  #2 (permalink)  
Old March 16th, 2007, 02:03 PM
Friend of Wrox
 
Join Date: Jun 2004
Location: Chennai, Tamil Nadu, India.
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...
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:05 PM.


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