DataView多变化 [英] DataView Multiple Change
本文介绍了DataView多变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我使用在Dataview上有多个控件绑定的表单编辑记录,但
我不想更新权限总是到数据库,我想延迟,直到
所有更改(使用表格添加所有新记录或编辑各种现有的
记录)
这样我可以最大限度地减少服务器上的交易..
任何提示?
VS 2003
>
Marc R.
感谢您的帮助!
解决方案
Marc,
当你将数据表更新到数据库时,这取决于你,所以你可以用b $ b来解释你的问题吗?
Cor
" Marc R." <否**** @ NewgroupsONLY.com> schreef在bericht
新闻:大江************** @ tk2msftngp13.phx.gbl ...大家好,
但我不想总是更新到数据库,我想延迟
直到所有更改(使用表格添加所有新记录或编辑各种现有记录)
这样我可以最大限度地减少服务器上的交易..
任何提示?>
VS 2003
Marc R.
感谢您的帮助!
好吧,我使用绑定到数据视图的网格,
我点击一行,表单上的所有文本框都相应更新。
如果我编辑文本框,我绝对需要进行更新以免丢失
信息。
如果我换到另一行,然后回到之前编辑的行我的
编辑过的信息不再是文本框了。我看到了原始数据。
我希望能够编辑,就像我喜欢的那么多行甚至添加一些
新行然后更新数据库。
让希望得到更好的解释。
thks
" Cor Ligthert [MVP]" ; <无************ @ planet.nl>在消息中写道
新闻:uq ************** @ TK2MSFTNGP09.phx.gbl ...Marc,>
当您将数据表更新到数据库时,由您决定,所以您能更多地解释一下您的问题吗?
Cor
Marc R. <否**** @ NewgroupsONLY.com> schreef in bericht
新闻:大江************** @ tk2msftngp13.phx.gbl ...大家好,
但是我不想总是更新到数据库,我想延迟直到所有更改(添加所有新的使用表格记录或编辑各种现有记录)
这样我可以最大限度地减少服务器上的交易..
任何提示?
> VS 2003
Marc R.
感谢您的帮助!
Marc
你有办法告诉一个问题,在我看来,对于那些试图帮助你的人来说绝对没有什么。
例如这个。我使用绑定到数据视图的网格,
版本2005?
WindowsForm Grid或Webform Grid或自己构建的网格?
如果我编辑textbo XES .........?
然后你点击更新按钮或者什么或你什么都不做
Cor
去了我点击一排,表单上的所有文本框都会相应更新。
如果我编辑文本框,我绝对需要做更新而不会丢失
信息。
如果我换到另一行,那么回到以前编辑过的行我的
编辑信息不再是文本框了。我看到了原始数据。
我希望能够编辑,尽可能多的行我喜欢甚至添加一些新行然后更新数据库。
Cor Ligthert [MVP]" <无************ @ planet.nl>在消息中写道
新闻:uq ************** @ TK2MSFTNGP09.phx.gbl ...Marc,
>当您将数据表更新到数据库时,由您决定,所以您能更多地解释一下您的问题吗?
" Marc R." <否**** @ NewgroupsONLY.com> schreef in bericht
新闻:大江************** @ tk2msftngp13.phx.gbl ...大家好,
但是我不想总是更新到数据库,我想延迟直到所有更改(添加所有新的使用表格记录或编辑各种现有记录)
这样我可以最大限度地减少服务器上的交易..
任何提示?
> VS 2003
Marc R.
感谢您的帮助!
Hi all,
I edit records using a form that have multiple control bind on Dataview, But
I don''t want to update right always to database, I would like to delay until
all Changes (add all new record using a form or edit various existing
records)
This way I could minimize transaction on server..
Any hint ?
VS 2003
Marc R.
Thanks for your help guys !
解决方案
Marc,
It is up to you when you update a datatable to a database, so can you
explain your question a little bit more?
Cor
"Marc R." <No****@NewgroupsONLY.com> schreef in bericht
news:Oe**************@tk2msftngp13.phx.gbl...Hi all,
I edit records using a form that have multiple control bind on Dataview,
But I don''t want to update right always to database, I would like to delay
until all Changes (add all new record using a form or edit various
existing records)
This way I could minimize transaction on server..
Any hint ?
VS 2003
Marc R.
Thanks for your help guys !
well I use a grid bound to a dataview,
went I click on a row, All textboxes on the form updates accordingly.
if I edit the textboxes, I absolutely need to do an update to not loose
information.
if I change to a different row, then back to the previously edited row my
edited information aren''t into textboxes anymore. I see the original data.
I would like to be able to edit, as much as many row I like or even add some
new rows then update database.
Let hope that is better explained.
thks
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:uq**************@TK2MSFTNGP09.phx.gbl...Marc,
It is up to you when you update a datatable to a database, so can you
explain your question a little bit more?
Cor
"Marc R." <No****@NewgroupsONLY.com> schreef in bericht
news:Oe**************@tk2msftngp13.phx.gbl...Hi all,
I edit records using a form that have multiple control bind on Dataview,
But I don''t want to update right always to database, I would like to
delay until all Changes (add all new record using a form or edit various
existing records)
This way I could minimize transaction on server..
Any hint ?
VS 2003
Marc R.
Thanks for your help guys !
Marc
You have a way in telling a problem what says in my opinion absolute nothing
to the ones who tries to help you.
By instance this.well I use a grid bound to a dataview,
Version 2005?
WindowsForm Grid or Webform Grid or a grid build by yourself?
if I edit the textboxes.........? And then do you click an update button or whatever or do you do nothing
Cor
went I click on a row, All textboxes on the form updates accordingly.
if I edit the textboxes, I absolutely need to do an update to not loose
information.
if I change to a different row, then back to the previously edited row my
edited information aren''t into textboxes anymore. I see the original data.
I would like to be able to edit, as much as many row I like or even add
some new rows then update database.
Let hope that is better explained.
thks
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:uq**************@TK2MSFTNGP09.phx.gbl...Marc,
It is up to you when you update a datatable to a database, so can you
explain your question a little bit more?
Cor
"Marc R." <No****@NewgroupsONLY.com> schreef in bericht
news:Oe**************@tk2msftngp13.phx.gbl...Hi all,
I edit records using a form that have multiple control bind on Dataview,
But I don''t want to update right always to database, I would like to
delay until all Changes (add all new record using a form or edit various
existing records)
This way I could minimize transaction on server..
Any hint ?
VS 2003
Marc R.
Thanks for your help guys !
这篇关于DataView多变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文