Collecting database data ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • serge calderara

    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
  • Chris, Master of All Things Insignificant

    #2
    Re: Collecting database data ?

    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" <sergecalderara @discussions.mi crosoft.com> wrote in
    message news:2754C2DA-F453-4D93-BD34-337F542CE291@mi crosoft.com...[color=blue]
    > 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[/color]


    Comment

    • serge calderara

      #3
      Re: Collecting database data ?

      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:
      [color=blue]
      > 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" <sergecalderara @discussions.mi crosoft.com> wrote in
      > message news:2754C2DA-F453-4D93-BD34-337F542CE291@mi crosoft.com...[color=green]
      > > 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[/color]
      >
      >
      >[/color]

      Comment

      Working...