visual basic 2012将新列添加到.sdf数据库 [英] visual basic 2012 add new column to .sdf databas

查看:59
本文介绍了visual basic 2012将新列添加到.sdf数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个存储一些数据的应用程序,它的工作完美但现在我想在这个数据库中添加新列

我的数据库有3个表 tbl1,tbl2,tbl3

i想要添加一列到 tbl2

当我添加新列时它完全添加,

我的问题是我试图在我的表中保存这些信息 ITS NOT STORED

i have create an application that stores some data , its all worked perfectly but now i want to add new column to this database
my database has 3 tables tbl1,tbl2,tbl3
i want to add one column to tbl2
when i add new column its add perfectly ,
but MY PROBLEM is when iam trying to SAVE these information ITS NOT STORED in my table

推荐答案

转到sdf文件的属性,将.sdf文件的复制到输出目录属性设置为始终复制
go to properties of sdf file, Set the Copy to Output Directory property of the .sdf file to Copy always.


这篇关于visual basic 2012将新列添加到.sdf数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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