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 November 14th, 2003, 09:47 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aadz5
Default Exception Error

Hi guy,

I want to use the RowFilter()method of the DataView object. When I compile the code this is the error I get: -

Compiler Error Message: CS0246: The type or namespace name 'outMessage' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

Line 46: {
Line 47: objDataView.RowFilter = "Title LIKE '" + Author.Text + "'";
Line 48: outMessage.InnerHtml = "DataView.RowFilter = <b>" + objDataView.RowFilter + "</b>";
Line 49: }
Line 50:

I am using these directives: -

<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.Data.OleDb" %>

I cant see my error??

THanks

Adnan





Adz - Portsmouth Massive
__________________
Adz - Learning The J2EE Ways.
 
Old November 14th, 2003, 10:50 AM
Authorized User
 
Join Date: Jul 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The root source of your error is likly to be found earlier in your code (where you declare outMessage) but is only manifesting on line 48. Post the rest of your code






Similar Threads
Thread Thread Starter Forum Replies Last Post
error:Exception occurred hastikeyvan Classic ASP Professional 1 September 13th, 2006 04:40 AM
Exception error lewright Java Basics 8 July 17th, 2006 06:35 PM
null exception error abhit_kumar JSP Basics 4 January 5th, 2005 05:26 PM
Server exception error edray Beginning VB 6 1 July 13th, 2004 09:43 AM
Server Exception Error edray Pro VB 6 0 July 13th, 2004 09:01 AM





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