473,795 Members | 2,986 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\DOT NET\MCSD\70-305\305C05\dsCu stOrders.vb(86) : Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Ser ialization.IXml Serializable'. 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 2125
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\DOT NET\MCSD\70-305\305C05\dsCu stOrders.vb(86) : Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Ser ialization.IXml Serializable'. 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:

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

' <autogenerate d>

' 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.Componen tModel.Designer CategoryAttribu te("code"), _

System.Diagnost ics.DebuggerSte pThrough(), _

System.Componen tModel.ToolboxI tem(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*******@discu ssions.microsof t.com> wrote in message
news:9A******** *************** ***********@mic rosoft.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\DOT NET\MCSD\70-305\305C05\dsCu stOrders.vb(86) : Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Ser ialization.IXml Serializable'. 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*******@discu ssions.microsof t.com> wrote in message
news:9A******** *************** ***********@mic rosoft.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\DOT NET\MCSD\70-305\305C05\dsCu stOrders.vb(86) : Reference
required to assembly 'System.Xml' containing the implemented interface
'System.Xml.Ser ialization.IXml Serializable'. 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
6289
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. I can do this the first time the form loads.
3
3568
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 the field name. Is there a way to retain this nomenclature and yet have the view display the field name (or anyname i want for that matter)? Thanks --
17
4230
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 Set rs = Me.RecordsetClone rs.Find "=" & lngContractID If Not rs.EOF Then Me.Bookmark = rs.Bookmark I must site the Heisenberb Uncertainty Principal here, as it
0
358
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 Authors table on the Pubs database on the SQL Server. In the wizard, I use "single record" with "individual controls" and select all buttons. My problem is that when the form has a checkbox control, the ADD button does not work correctly. Without...
4
301
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 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...
8
24530
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 email
7
1342
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
2601
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 application, these button work automatically, means we can go to next step, previous step by clicking on corresponding buttons. In my application I have 3 steps. On Next button click of step 1, I want two things to happen. One is inserting data of step 1 in...
3
1994
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 the onclick event for the button as well eg cell 1 cell2 cell3 text text Button
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10439
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3727
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.