Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/04/2006, 09:11
Taurus427
 
Fecha de Ingreso: agosto-2003
Mensajes: 398
Antigüedad: 21 años, 6 meses
Puntos: 0
Autogenerar funciones Dataset para XML

Hola, vereis estoy intentando crear un Dataset para leer tablas XML, para ello he añadido un nuevo XMLSchema1.xsd y he creado dentro las tablas que tiene el Archivo XML, mi problema es que no se generar de forma automática el archivo .vb que contiene la clase de las funciones para acceder al XML sin problemas, algo como esto:
Código PHP:
'------------------------------------------------------------------------------
<autogenerated>
'     This code was generated by a tool.
'     
Runtime Version1.1.4322.573
'
'     
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("code"),  _
 System
.Diagnostics.DebuggerStepThrough(),  _
 System
.ComponentModel.ToolboxItem(true)>  _
Public Class DataSetContactos
    Inherits DataSet
    
    
Private tableContactos As ContactosDataTable 
¿Me podeis echar una mano para poder generar el arechivo de forma automatica?, ya que manual me tiraria años, y por lo visto ese código pone que <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.1.4322.573
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </autogenerated>

A ver si me podeis echar una mano ya que me es de gran utilidad.
Saludos