Jump to content

[VB .NET 2005] Tabela SQL


MSOlhao

Recommended Posts

Esse codigo cria.te uma datatable... n uma tabela de base de dados!!!

Para conseguires k a datatable fique de umas vezes para as outras vais ter k usar uma base de dados kk desde access, sql ou ate mesmo xml(se calhar o mais indicado s for algo simples!!)

par xml basta k uses os metodos "WriteXml" e "ReadXml".

Dim workTable as DataTable = New DataTable("Customers")
'Escreve os dados para um xml
workTable.WriteXml("c:\db.xml")
'Le os dados de um Xml
workTable.ReadXml("c:\db.xml")

Fikem Bem!!!Miguel Duarte - (SoulOnFire)O meu BLOG - XAML E WPF - http://wpfpt.wordpress.com/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.