自动创建数据库 [英] Create database automatically

查看:89
本文介绍了自动创建数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

其实我在人力资源项目工作,

我想知道无论如何都可以自动在其中创建带有某些修订表的数据库,

我的意思是

假设Codeproject是我的客户,并且在填写客户表单时,将自动创建客户名称Codeproject的数据库,并且也是pf,esic,leave等的通用修订表.
这样有可能吗?

给我建议!

解决方案

这些链接可能对您有帮助
http://www.dotnetfunda.com/codes/code924- create-database-dynamically-using-aspnet-csharp-code.aspx [使用C#创建SQL Server数据库 [ ^ ]
http://stackoverflow. com/questions/2348839/best-practice-to-create-on-demand-sql-server-2008-express-databases-in-c [如何在运行时使用c#创建数据库. [ ^ ]

问候
sarva


Hi all,

Actually I work in hr project,

I want to know that it is possible to create database with some fix table inside automatically by anyway,

i mean

Suppose Codeproject is my client and when client form is filled the database of client name Codeproject automatically created and also a common fix table for pf , esic , leaves etc.. .

so it is possible?

Give me suggestion for this!

解决方案

These links may help you
http://www.dotnetfunda.com/codes/code924-create-database-dynamically-using-aspnet-csharp-code.aspx[^]
Create a SQL Server Database Using C#[^]
http://stackoverflow.com/questions/2348839/best-practice-to-create-on-demand-sql-server-2008-express-databases-in-c[^]


have you look similar thread!!!

How to create an database at runtime with c# ..?[^]

regards
sarva


这篇关于自动创建数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆