Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: move data between view and table ?


Message #1 by yaping_yangey <yaping_yangey@s...> on Tue, 11 Feb 2003 19:00:13 +0800
TiNFoX  and  hafiz qasim,



Thanks for your help! But both your methods need sql command, and my client forbid me to do it like that at UI layer.



My problem is that, one datagrid just can binding to one table or one view, and joined view cann’t update data to database.  

I need show two table values in a datagrid, so I have to join two tables into a view and binding the view to one datagrid. The user
just modify the data of the view showed on the screen. So I need to update the tables’s data according to the view data background,
such as table.row.column.value = view.row.column ….  It is a terrible work!

By PowerBuild language, I can binding one datagrid.field both to view.column and to table.column, when the user modify the
datagrid.field, both view.column and table.column are modified too.  I need do nothing background about it.

I am not sure that if vb.net can do it like PB does? Or any other good idea …… ^_^

I need your help, and thanks in advance for your prompt response!



regards,

Chris Yang


______________________________________


===================================================================
手机短信发送m到888810,免费获得新浪15M任你邮邮箱! (http://vip.sina.com/love_send/lover.html)
手机语音聊天国内长途5分钟/1元、帅哥美女靓照尽在爱情快递 (http://love.sina.com.cn)
发拜年短信 送万千祝福 赢双人港澳游大奖! (http://sms.sina.com.cn/act/spring2003.html)

  Return to Index