473,385 Members | 1,630 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Seemless Interactive UI Updation

Dear All,

Problem:
Need to seemlessly update a DataBound Datagrid (WinApp) whenever the data in
the attached Table changes from different appDomain.

Current Solution:
Using Triggers, Extended Stored Procedure, ESP DLL, and Sockets intimate the
UI to call Refresh on Dataset.
Problem in pri sol:
In above scenario Refresh( ) doesnt remove rows (as in case of deletion of
some record)- Clear( ) is therefore required which is cumbersome.

Secondary Solution:
Using triggers , an Extra Table and a Derived DataSet for Refresh( ) -
update only the changed rows. (2 many modifications required)

P.S.
Sorry for possibly illegal Cross Posting :-(
Cant use Notification Services as they aint free.
ADO.NET 2.0 is fine but current version is preferable.
Please focus on primary problem first. :-) wud luv 2 c new sol instead of
mod in old sol

Any Ideas , Any Suggestions, Any Reference .. All's Welcome.

Thank You.
rawCoder
Nov 16 '05 #1
5 936
RawCoder,

I do not think I have an answer, however I get the idea you are making a
connected dataset. Is that the challenge? The attached Table in your message
is a "database table".

Cor
Dear All,

Problem:
Need to seemlessly update a DataBound Datagrid (WinApp) whenever the data in the attached Table changes from different appDomain.

Current Solution:
Using Triggers, Extended Stored Procedure, ESP DLL, and Sockets intimate the UI to call Refresh on Dataset.
Problem in pri sol:
In above scenario Refresh( ) doesnt remove rows (as in case of deletion of
some record)- Clear( ) is therefore required which is cumbersome.

Secondary Solution:
Using triggers , an Extra Table and a Derived DataSet for Refresh( ) -
update only the changed rows. (2 many modifications required)

P.S.
Sorry for possibly illegal Cross Posting :-(
Cant use Notification Services as they aint free.
ADO.NET 2.0 is fine but current version is preferable.
Please focus on primary problem first. :-) wud luv 2 c new sol instead of
mod in old sol

Any Ideas , Any Suggestions, Any Reference .. All's Welcome.

Thank You.
rawCoder

Nov 16 '05 #2
Would it work by calling Merge on the dataset instead of clearing and
filling?

"rawCoder" <ra******@hotmail.com> skrev i en meddelelse
news:eJ*************@TK2MSFTNGP11.phx.gbl...
Dear All,

Problem:
Need to seemlessly update a DataBound Datagrid (WinApp) whenever the data in the attached Table changes from different appDomain.

Current Solution:
Using Triggers, Extended Stored Procedure, ESP DLL, and Sockets intimate the UI to call Refresh on Dataset.
Problem in pri sol:
In above scenario Refresh( ) doesnt remove rows (as in case of deletion of
some record)- Clear( ) is therefore required which is cumbersome.

Secondary Solution:
Using triggers , an Extra Table and a Derived DataSet for Refresh( ) -
update only the changed rows. (2 many modifications required)

P.S.
Sorry for possibly illegal Cross Posting :-(
Cant use Notification Services as they aint free.
ADO.NET 2.0 is fine but current version is preferable.
Please focus on primary problem first. :-) wud luv 2 c new sol instead of
mod in old sol

Any Ideas , Any Suggestions, Any Reference .. All's Welcome.

Thank You.
rawCoder

Nov 16 '05 #3
Sorry Cor if I was not clear.

Its a simple DataBound DataGrid.

It is bound to a dataset referring to a table in the database.

When there is some data change in the DB Table -
i.e. when some row is added changed or updated in the DB Table from some
other app or form SQL Enterprise Manager
then the DataSet doesnt get updated automatically - which is natural as the
DataSet is disconnected
and hence consequently the grid doesnt get refreshed.

That was in essense the basic problem.

HTH
rawCoder

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uU**************@TK2MSFTNGP09.phx.gbl...
RawCoder,

I do not think I have an answer, however I get the idea you are making a
connected dataset. Is that the challenge? The attached Table in your message is a "database table".

Cor
Dear All,

Problem:
Need to seemlessly update a DataBound Datagrid (WinApp) whenever the data
in
the attached Table changes from different appDomain.

Current Solution:
Using Triggers, Extended Stored Procedure, ESP DLL, and Sockets intimate

the
UI to call Refresh on Dataset.
Problem in pri sol:
In above scenario Refresh( ) doesnt remove rows (as in case of deletion

of some record)- Clear( ) is therefore required which is cumbersome.

Secondary Solution:
Using triggers , an Extra Table and a Derived DataSet for Refresh( ) -
update only the changed rows. (2 many modifications required)

P.S.
Sorry for possibly illegal Cross Posting :-(
Cant use Notification Services as they aint free.
ADO.NET 2.0 is fine but current version is preferable.
Please focus on primary problem first. :-) wud luv 2 c new sol instead of mod in old sol

Any Ideas , Any Suggestions, Any Reference .. All's Welcome.

Thank You.
rawCoder


Nov 16 '05 #4
Rawcoder,

I do not know the solution, in your case I would start looking to the
methods for pessimistic concurrency, I did it on MSDN and found this,
however there should be more.

http://msdn.microsoft.com/library/de...ursorlocks.asp

I hope this helps anyway something?

Cor
Nov 16 '05 #5
Unfortunately, this will absolutely kill any kind of scalability.

To the OP, you might as well use SQL notification services. Yes, they
are not free, but based on what you said you had to do in order to acheive
the same thing (trigger, sp, sockets, etc, etc) I would take the ease of
maintainability over the cost (whatever that might be, I can't imagine it is
that much more costly performance wise than your solution) that SQL
notification services incurs.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Rawcoder,

I do not know the solution, in your case I would start looking to the
methods for pessimistic concurrency, I did it on MSDN and found this,
however there should be more.

http://msdn.microsoft.com/library/de...ursorlocks.asp

I hope this helps anyway something?

Cor

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: shadab | last post by:
I wants Open Source Code of a Web site made in PHP for Updation of my Website.
1
by: AA | last post by:
We want to edit, update data of DataGrid in Asp.Net with VB.Net.and are writing the following code for EditCommand and UpdateCommand Event is : DataGrid1_EditCommand
0
by: Lakshmi Narayanan.R | last post by:
Hi Experts I am new to .NET. I need great explanation for "the updation in the disconnected data". How it is handled. That is, if mutiple user is interacting with the data, one will delete another...
1
by: Babz | last post by:
Hi, How I can prevent concurrent updation of a records in .net. I am using Dataset which is disconnected from the data source. In this situation if two users opens the same record, modifies the...
0
by: prashant | last post by:
Hi, I am trying to set up Transactional replication with immediate updation. The configuration is as follows: 1. Publisher is SQL server 2000 Enterprise Edition, and Distributor is on the...
1
by: roshan56us | last post by:
Hi, i have problem in updation of access database, which is in backend and Visual basic as front end. its using 800 records in MS-Access but,while updating the database, it doesn't update sometime...
1
by: siri11 | last post by:
Hi everyone!!!!!!!!! If i update a record in a table in sqlserver from front end (c#.net),using a stored procedure for updating then after updation if i open the table then it is showing the same...
1
by: DL | last post by:
Hi, I'm not entirely sure if it's an HTML question or CSS one (so I would have to post it to the CSS ng as well). Case here: <table> <tr><td bgcolor="black">bla bla</td<td>something...
9
by: DL | last post by:
Hi, I'm not entirely sure if it's an HTML question or CSS one (so I've also posted it to the HTML ng as well). Case here: <table> <tr><td bgcolor="black">bla bla</td<td>something...
2
by: sharath067 | last post by:
I want to dynamically update the scatter plot based on the y-axis data received from a socket connection. I used python matplot lib in interactive mode to do this, but during dynamic updation if i...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.