473,385 Members | 1,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Issue with Data form Wizard ASP.NET?

I am following thru the examples in the book I am studying for my MCSD. This
is the web applications book.

One example is to use the data form wizard to create a simple data form on
the northwind customers table.When I try to run the code after the wizard
has generated the form I get several compile errors like this:

D:\Projects\DOTNET\MCSD\70-305\305C05\dsCustOrders.vb(86): Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Serialization.IXmlSerializable'. Add one to your project.

When I looked at the generated code there is a
Imports System.Xml

already.

Anyone know what this error means?

Thanks!
Jul 21 '05 #1
3 2098
The Imports key word just imports the namespace.

Since the required interface is defined in another assembly, you need to
physically refernce this assembly. In project explorer, right click
references, add... then find the reference you need, System.Xml.

If you are not using the ide to compile, you should be able to specify the
references using a switch on the command line. Since i am not familiar with
the VB compiler, you will have to look that one up.

Tom Wisnowski
Statera
MCP MCAD

"David C. Allen" wrote:
I am following thru the examples in the book I am studying for my MCSD. This
is the web applications book.

One example is to use the data form wizard to create a simple data form on
the northwind customers table.When I try to run the code after the wizard
has generated the form I get several compile errors like this:

D:\Projects\DOTNET\MCSD\70-305\305C05\dsCustOrders.vb(86): Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Serialization.IXmlSerializable'. Add one to your project.

When I looked at the generated code there is a
Imports System.Xml

already.

Anyone know what this error means?

Thanks!

Jul 21 '05 #2
I just checked the references and System.Xml is already there.

Are there any known issues with the asp.net Data Form Wizard?

Here is the beginning of the Autogenerated code:

'---------------------------------------------------------------------------
---

' <autogenerated>

' This code was generated by a tool.

' Runtime Version: 1.1.4322.2032

'

' Changes to this file may cause incorrect behavior and will be lost if

' the code is regenerated.

' </autogenerated>

'---------------------------------------------------------------------------
---

Option Strict Off

Option Explicit On

Imports System

Imports System.Data

Imports System.Runtime.Serialization

Imports System.Xml

<Serializable(), _

System.ComponentModel.DesignerCategoryAttribute("c ode"), _

System.Diagnostics.DebuggerStepThrough(), _

System.ComponentModel.ToolboxItem(true)> _

Public Class dsCustOrders

Inherits DataSet

Here is the beginning of the Autogenerated code:

The last line that says Inherits DataSet has DataSet underlined in the IDE
and the error I described bellow is flagged for it.

"tom wisnowski" <tom wi*******@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
The Imports key word just imports the namespace.

Since the required interface is defined in another assembly, you need to
physically refernce this assembly. In project explorer, right click
references, add... then find the reference you need, System.Xml.

If you are not using the ide to compile, you should be able to specify the
references using a switch on the command line. Since i am not familiar with the VB compiler, you will have to look that one up.

Tom Wisnowski
Statera
MCP MCAD

"David C. Allen" wrote:
I am following thru the examples in the book I am studying for my MCSD. This is the web applications book.

One example is to use the data form wizard to create a simple data form on the northwind customers table.When I try to run the code after the wizard has generated the form I get several compile errors like this:

D:\Projects\DOTNET\MCSD\70-305\305C05\dsCustOrders.vb(86): Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Serialization.IXmlSerializable'. Add one to your project.

When I looked at the generated code there is a
Imports System.Xml

already.

Anyone know what this error means?

Thanks!

Jul 21 '05 #3
I found the problem. I deleted the reference to System.XML and added it back
in. It added back in as lower cases system.xml. Not sure why it fixed it but
it did.
"tom wisnowski" <tom wi*******@discussions.microsoft.com> wrote in message
news:9A**********************************@microsof t.com...
The Imports key word just imports the namespace.

Since the required interface is defined in another assembly, you need to
physically refernce this assembly. In project explorer, right click
references, add... then find the reference you need, System.Xml.

If you are not using the ide to compile, you should be able to specify the
references using a switch on the command line. Since i am not familiar with the VB compiler, you will have to look that one up.

Tom Wisnowski
Statera
MCP MCAD

"David C. Allen" wrote:
I am following thru the examples in the book I am studying for my MCSD. This is the web applications book.

One example is to use the data form wizard to create a simple data form on the northwind customers table.When I try to run the code after the wizard has generated the form I get several compile errors like this:

D:\Projects\DOTNET\MCSD\70-305\305C05\dsCustOrders.vb(86): Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Serialization.IXmlSerializable'. Add one to your project.

When I looked at the generated code there is a
Imports System.Xml

already.

Anyone know what this error means?

Thanks!

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: damjanu | last post by:
Hi All; I need little help. I have a datasheet form. I allow user to do 'filter by selection'. My form contains a column with values. As user changes selections, I want to calculate totals....
3
by: Kent Eilers | last post by:
I want to follow naming conventions for my controls - i usually prefix combo boxes with "cbo". When a form is in datasheet view however i do not want the user to see the 'cbo' prefix in front of...
17
by: Danny J. Lesandrini | last post by:
The following code works with a standard MDB to navigate to a particluar record (with a DAO recordset, of course) but it's giving me problems in an ADP I'm working on. Dim rs As ADODB.Recordset...
0
by: AZ Jack | last post by:
I have been using a form generated with the Data Form Wizard as a model to generate a standard update form. The wizard uses BindingContext to tie a form to a Database Table. I am using the...
4
by: David C. Allen | last post by:
I am following thru the examples in the book I am studying for my MCSD. This is the web applications book. One example is to use the data form wizard to create a simple data form on the...
8
by: gracealic | last post by:
I am new to access can someone tell me how do we send the data entered from an inquiry form to a table. say i have a form which has fields client name client address client phone client...
7
by: Darhl Thomason | last post by:
Does VB2005 have a wizard for creating a form based on an Access db? I know that VB6 had this, but I can't seem to find anything similar in VB2005. Thanks! Darhl
12
by: raghav | last post by:
Hi I am working on ASP.NET 2.0. I am developing a website using Wizard control. Based on number of steps added, next, previous, finish buttons generate automatically. After running the...
3
by: Peter Newman | last post by:
i have used the data wizard form to create a data form with a datagrid on it. What i want to do is add a new coloum and put a Button in it. can anyboody showm me how to do this .... I will need...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.