Please give me an idea.
-
Dear, Sir I will develop an application that automatic check what update on database on the Web Server. Please give me an idea and overview about it. To get what update via Internet I should use what classs. I ever create database application, but I never create application that connect to the internet. And I think I should use thread in this application. Is.... correct? Thank You. Sorry for bad English. :););P:-D:(:((:-O:zzz::omg::wtf::rolleyes::laugh::mad::confused::~ :| X| :suss::cool::eek::sigh::doh::rose:
-
Dear, Sir I will develop an application that automatic check what update on database on the Web Server. Please give me an idea and overview about it. To get what update via Internet I should use what classs. I ever create database application, but I never create application that connect to the internet. And I think I should use thread in this application. Is.... correct? Thank You. Sorry for bad English. :););P:-D:(:((:-O:zzz::omg::wtf::rolleyes::laugh::mad::confused::~ :| X| :suss::cool::eek::sigh::doh::rose:
-
Dear, Sir I will develop an application that automatic check what update on database on the Web Server. Please give me an idea and overview about it. To get what update via Internet I should use what classs. I ever create database application, but I never create application that connect to the internet. And I think I should use thread in this application. Is.... correct? Thank You. Sorry for bad English. :););P:-D:(:((:-O:zzz::omg::wtf::rolleyes::laugh::mad::confused::~ :| X| :suss::cool::eek::sigh::doh::rose:
As Jinwah was getting at, see the
System.Data.DataSet
class documentation in the .NET Framework SDK, as well asSystem.Data.Common.DbDataAdapter
- specifically, one of its derived classes depending on what database you're accessing (likeSystem.Data.SqlClient.SqlDataAdapter
for a SQL Server database). You give theDbDataAdapter
the appropriate SELECT, INSERT, UPDATE, and DELETE commands (it has properties for each), which you can either use the DataAdapter designer in VS.NET or aCommandBuilder
to generate, or type them yourself but generating an example to get an idea might be a good idea. Then, whenever you update, remove, or insert information in theDataSet
, you callDbDataAdapter.Update(DataSet)
which will use the change type information for eachDataRow
and will call the appropriateDbCommand
on theDbDataAdapter
. There are several examples of this on the CodeProject web site, as well as examples in the .NET Framework SDK.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----