Client/server question.

  • Thread starter Visual Systems AB \(Martin Arvidsson\)
  • Start date
V

Visual Systems AB \(Martin Arvidsson\)

Hi!

Im developing my first client/server application.

So ofcourse i got a cople of questions for you gurus out there ;)

Created a simple order/detail, with fields and a datagrid, works excelent.

Now, in a walkthru i read in the helpfile it updates the grid in three
steps.
first it removes deleted orders, then updates updated orders, finaly adds
newly inserted orders.
why is this?

As far as i know i can use the .Update on booth tables to ensure save is
done. Is there a specific reason it is done in three steps?

Second question.

got a simple customer table. When using the wizard to create the dataset,
the dataset is filled when form loads. If i enter a customer record on a
nother computer i need to close down the view and reopen or just issue a
fill to reload data. is there no other way to let the dataset get the new
data, besides using a timer to reload the dataset. Or can i work directly on
the data in the sql server?

Regards
Martin
 
G

Guest

Well if you are working with ASP.NET technologies the first step to remember
is that you are working with a Server side technologie. In other way if you
want to 'reload' updated data into you DataGrid after call the Update or Fill
method you MUST make a DataBind() another time ...

I don't understand what you meaning with 3 step to upload data ... Wich
are?? Maybe you are talking about Fill, Update and DataBind?
 
V

Visual Systems AB \(Martin Arvidsson\)

So what yóu are saying is that if i build a client/server solution using the
dataset wizard and using the application on multiple clients i must hit a
button that reloads data onto that client? Example. User 1 adds a record to
the customers table, and user 2 must the reload data in order to get the
data to his client?

Is there realy no other way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top