:cry: Saving datatables into database

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: argeam (elaine.chua_at_epcos-dot-com.no-spam.invalid)
Date: 06/03/04


Date: 3 Jun 2004 04:53:09 -0500

Hi all,

     What i'm trying to do is as follows:

1) 3 txtboxes, 1 Add button, 1 Submit button, 1 datagrid
2) when the page loads, the user will be able to type in texts in all
3 textboxes.
3) Then the user clicks on add button, the data that the user just
type will be shown in the datagrid.
4) the items will add on whenever user clicks on add.
5) then after which the user has finished with the adding then he will
click on submit button and only then the records in the datagrid will
be inserted/added into the database.

NOTE: All the while the datagrid is disconnected to the database its
only when the user clicks on submit then it will be connected to the
database. I'm using vb.net, asp.net, ado.net and sql server.

Hope there will be someone to help me as i've also been searching for
the ans for a few weeks. really appreciate that someone might be able
to help me! Thanks!

 Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
                http://www.usenet.com



Relevant Pages

  • update with textboxes
    ... I trying to do an aplicattion where it shows the data from a sql server ... database and you can save the changes. ... When I use a datagrid I havenīt any ... I use the DataBindings of the textboxes to link with the dataSet. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to save textbox.text to the dataset when its bound to datagri
    ... My understanding is that if you change the text in a bound text box and then move the input focus elsewhere, the change must be automatically propagated to the underlying data source. ... The textboxes are bind to the same dataset table as the datagrid ... I want to save the changes that user make in the textboxes when they select ... to the dataset and update to the database is not working. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Display SELECT results on two dates (datagrid and textbox in vb)
    ... just about any other database, the delimiter is a single quote. ... not fill the datagrid. ... The textboxes are named txtStartDate and txtEndDate ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: Propagating Datagrid Changes to a Database
    ... > and Data Access Layer) defining a data layer ... > from a database and to update a modified Sector table. ... After updating the dataset through the datagrid, ... a couple of textboxes and a few buttons to effect actions. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: How to import certain fields from access database?
    ... I added the code but its not displaying any values in the textboxes. ... The first imports data from a database ... Dim myActiveRecord As Recordset ...
    (microsoft.public.word.mailmerge.fields)