- SQL提高查询效率之综述篇
- 目标关键词是什么意思?
- 使用composer安装时提示错误Cloning failed using an ssh key...
- axios和vue-resource的对比和使用
- AutoMapper对象映射
- 网站URL太长有什么不好
- 微信小程序wx.getUserInfo获取用户所在地区为中文的方法
- IReadOnlyCollection
与IReadOnlyList - ALT-代替属性
- 网站标题title的SEO优化要注意哪些
邮箱:
手机:15383239821
c#中对access数据表中增加表,增加字段、删除字段
protected void btnjb_Click(object sender, EventArgs e)
{
string aa = txtname.Text.Trim();
string str = "create table "+aa.ToString()+"(id autoincrement,uname text,email text,times datetime)";
执行
}
//ID是自动编码字段
protected void btnadd_Click(object sender, EventArgs e)
{
string aa = txtlie1.Text.Trim();
string str = "alter table baolei add column " + aa.ToString() + " int";
执行
}
protected void btndel_Click(object sender, EventArgs e)
{
string aa = txtlie2.Text.Trim();
string str = "alter table baolei drop column " + aa.ToString();
执行
}
- 上一篇:常用的存储过程
- 下一篇:SQL日期时间转为字符串
-
2012-11-12石家庄SEO浅谈搜索引擎营销的定义及作用
-
2010-08-03JavaScript基本数据结构
-
2011-03-15StringBuilder在.Net中的用法说明
-
2011-05-02Response.ContentType 详细列表
-
2024-10-30html5多媒体标签之video标签
