Winanjaya Posted September 16, 2003 Posted September 16, 2003 Dear The Expert, I have a datagrid that contained records that maintained by my VB6's application, I show the datagrid in my 1st VB.NET application (I use dataset to bind to the datagrid) what I donot understand is why the datagrid is not automatically refresh when the new records was added or a record was modified by my VB6's application? please help me to solve this ... Many thanks in advance Regards Winan Quote
Administrators PlausiblyDamp Posted September 16, 2003 Administrators Posted September 16, 2003 Are you adding the records direct to the dataase? If so you will need to refresh the DataSet - ADO.Net works in a disconnected fashion rather than the connected way of ADO. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Winanjaya Posted September 16, 2003 Author Posted September 16, 2003 Thanks for your quick reply, but how do I know if there is a new record come into my table? .. could you please give me a very simple example about how to do this? .. sorry I am very new for this such thing.. ;>)) Many thanks in advance Regards Winanjaya Quote
Administrators PlausiblyDamp Posted September 16, 2003 Administrators Posted September 16, 2003 Sorry - missed the bit about it being maintained by a seperate application. Easiest way is probably to periodically refresh the data (or just give the user a refresh button and let them requery whenever they need to). Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Winanjaya Posted September 16, 2003 Author Posted September 16, 2003 So.. I though there is no solution for this .. except I have to use some kind like timer control with an interval refreshing.. isn;t it? ..please confirm .. thanks again Regards Winan Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.