.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #16  
Old July 3rd, 2009, 10:35 AM
rclark's Avatar
rclark rclark is offline
I do .NET for a living
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Sep 2003
Location: Florida
Posts: 1,434 rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 20 h 25 m 53 sec
Reputation Power: 157
Quote:
Originally Posted by zeetec1
Sorry it's brought up a few more errors I'm afraid:-

The Name 'Datalist1' does not exist in the current context

This is pointing to:-
Code:
   DataList1.DataSource = NW.GetCustomers();
                DataList1.DataBind();


and the error:-

The type of namespace name 'NWUtil' could not be found (are you missing a using directive or an assembly reference?)

Any ideas why I'm getting these errors?


What is the name of your datalist?
Is your class where you create the dataset called NWUtil or something else?
__________________
Roger (.NET MCP)

Reply With Quote
  #17  
Old July 3rd, 2009, 10:41 AM
zeetec1 zeetec1 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 215 zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 20 h 56 m 57 sec
Reputation Power: 4
Quote:
Originally Posted by rclark
What is the name of your datalist?
Is your class where you create the dataset called NWUtil or something else?


Sorry it was called NWindUtil.

thats got rid of those errors but one still remains:-

The namespace 'WebApp1' already contains a definition for Customers

It is pointing to this code in Customers.aspx.designer.cs:-

Code:
namespace WebApp1 {
    
    public partial class Customers {

Last edited by zeetec1 : July 3rd, 2009 at 10:57 AM.

Reply With Quote
  #18  
Old July 3rd, 2009, 11:16 AM
rclark's Avatar
rclark rclark is offline
I do .NET for a living
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Sep 2003
Location: Florida
Posts: 1,434 rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 20 h 25 m 53 sec
Reputation Power: 157
Quote:
Originally Posted by zeetec1
Sorry it was called NWindUtil.

thats got rid of those errors but one still remains:-

The namespace 'WebApp1' already contains a definition for Customers

It is pointing to this code in Customers.aspx.designer.cs:-

Code:
namespace WebApp1 {
    
    public partial class Customers {


How many pages in your application? If it's small and you want to zip it up and sent it to me, I can more easily figure out what's happening.

Reply With Quote
  #19  
Old July 9th, 2009, 05:11 AM
zeetec1 zeetec1 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 215 zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 20 h 56 m 57 sec
Reputation Power: 4
Quote:
Originally Posted by rclark
How many pages in your application? If it's small and you want to zip it up and sent it to me, I can more easily figure out what's happening.


Hi, sorry for delay in responding.

The application isn't very big.

Do you want me to email it to you?

Reply With Quote
  #20  
Old July 9th, 2009, 07:11 AM
rclark's Avatar
rclark rclark is offline
I do .NET for a living
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Sep 2003
Location: Florida
Posts: 1,434 rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 20 h 25 m 53 sec
Reputation Power: 157
Quote:
Originally Posted by zeetec1
Hi, sorry for delay in responding.

The application isn't very big.

Do you want me to email it to you?


Sure, I'm happy to take a look at it.

Reply With Quote
  #21  
Old July 9th, 2009, 09:25 AM
zeetec1 zeetec1 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 215 zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level)zeetec1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 20 h 56 m 57 sec
Reputation Power: 4
Quote:
Originally Posted by rclark
Sure, I'm happy to take a look at it.


Hi,

I've sent you a private message, I couldn't get hold of your email to send you over the files.

Reply With Quote
  #22  
Old July 9th, 2009, 01:10 PM
rclark's Avatar
rclark rclark is offline
I do .NET for a living
ASP Free Beginner (1000 - 1499 posts)
 
Join Date: Sep 2003
Location: Florida
Posts: 1,434 rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level)rclark User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 20 h 25 m 53 sec
Reputation Power: 157
Quote:
Originally Posted by zeetec1
Hi,

I've sent you a private message, I couldn't get hold of your email to send you over the files.


I got it and sent you a PM back with an alternate email address. Please try that one.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > ASP.Net/C# - Displaying list of data from DB in a DataList


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
Stay green...Green IT