473,804 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Collecting database data ?

dear all,

I am building an application which is collecting data from a database and
display them in a windows form.

My idea is to collect those data in a form that, they can be read by my
windows application as well as a web browser.

is there a way to handle this data collection way available for both ?

thanks for reply
Serge
Jul 21 '05 #1
2 1484
You can do this with some good planning from the start.

Make a class that stores the data and handles gathering the data and
processing of the data. Then compile this into its own dll (make the class
a class library project) Then you can reference this class from both the
web and windows. All the forms (web/win) should have to do is attach to the
data.

Hope this helps some.
Chris
"serge calderara" <se************ @discussions.mi crosoft.com> wrote in
message news:27******** *************** ***********@mic rosoft.com...
dear all,

I am building an application which is collecting data from a database and
display them in a windows form.

My idea is to collect those data in a form that, they can be read by my
windows application as well as a web browser.

is there a way to handle this data collection way available for both ?

thanks for reply
Serge

Jul 21 '05 #2
Thanks for wyour reply,

But still one question, do I have to fomat those data in a particular form
or just having then in a dataset is enough?
I was thinking on exporting them to XML files but then formatting is needed
somhow ?

regards
Serge

"Chris, Master of All Things Insignifican" wrote:
You can do this with some good planning from the start.

Make a class that stores the data and handles gathering the data and
processing of the data. Then compile this into its own dll (make the class
a class library project) Then you can reference this class from both the
web and windows. All the forms (web/win) should have to do is attach to the
data.

Hope this helps some.
Chris
"serge calderara" <se************ @discussions.mi crosoft.com> wrote in
message news:27******** *************** ***********@mic rosoft.com...
dear all,

I am building an application which is collecting data from a database and
display them in a windows form.

My idea is to collect those data in a form that, they can be read by my
windows application as well as a web browser.

is there a way to handle this data collection way available for both ?

thanks for reply
Serge


Jul 21 '05 #3

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

Similar topics

5
1519
by: antonyliu2002 | last post by:
I have 4 forms each on a separate page respectively form1.aspx, form2.aspx, form3.aspx, form4.aspx. On top of each of the four pages there are 4 links which link to the aforementioned 4 pages like this: Form1 Form2 Form3 Form4 Important: Only form4.aspx has a submit button, none of the other 3 forms has any kind of submit or 'next step' button.
1
1081
by: Ddraig | last post by:
Howdy, I've got a little project going and I am trying to figure out a good way to do this. But since I'm still learning I'm probably missing a few obvious steps. Also not sure if I have my logic right or not. What I am trying to figure out is the process by which I pull the information. I'm trying to populate a list box with items where certain criteria are met.
2
248
by: serge calderara | last post by:
dear all, I am building an application which is collecting data from a database and display them in a windows form. My idea is to collect those data in a form that, they can be read by my windows application as well as a web browser. is there a way to handle this data collection way available for both ?
0
338
by: Antal Rutz | last post by:
Hi all, I'd like to collect snmp data from varoius network devices parallel. First I tried with my own threadpool class then I gave a try to Christopher Arndt's threadpool.py (http://chrisarndt.de/en/software/python/threadpool.html). I got the same result: with one thread it finished about 2 mins with more threads it needed more and more time.
17
5107
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also identifying memory leaks. The application in question is the Mozilla Web Browser. I also have had similar tasks before in the compiler construction area. And it is easy to come up with many more examples, where such kind of statistics can be very...
2
1545
by: tommydog | last post by:
-------------------------------------------------------------------------------- when do i write my data to the data base? i am building a browser based image map generator using php. each time an image is clicked the coords and a text box contents are to be saved somehow. i am expecting upto 50 lines of data for each image (x coord, y coord and text) : sample data: image name x y description image7.jpg 123 123 ...
2
5497
by: mcw.willart | last post by:
Hi, I'm trying to find out how to collect RSOP data in C#, but I haven't been successfull yet. Below is the code I Use in VBScript: ------------------------------------------------------------------------------------------------------------------------------ Const FL_FORCE_CREATE_NAMESPACE = 4
1
1528
by: Bob Alston | last post by:
Looking for design approach ideas for collecting data from multiple remote, standalone databases. I have built one of these in Access. Another I am told was built in Access. some others the language and database is unknown. These systems are all in small agencies which provide utility assistance to people who are having trouble paying their utility bills. A foundation wants to provide funds. However they want a consolidated...
2
1206
anfetienne
by: anfetienne | last post by:
hi i have a db that has multiple rows inserted into it and no auto_increment. now to retrieve I am trying to use the code below to select all data from one column according to the tempID and order them by the imageNo but it is only selecting the 1st row......is this because i have no auto_increment? mysql_connect($hostname,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $capSQL = "SELECT imageCap...
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10346
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10347
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.