help me on how to write a code in vb2005 to create an sql database

>help me on how to write a code in vb2005 to create an sql database.

CREATE DATABASE statement.

It is always better to create a database directly at backend not from frontend code. No where there will be a requirement when you have to create a database at runtime.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.