Tag Archive | "database"

How to auto increment id in access database based on a condition and save the id consecutively in asp.net?


In a form there are 3 text boxes – assetid, quantity, amount. When i enter 3 in the quantity and click a save button, assetid should auto increment from com1 to com2,com3,com4 consecutively in access database column and at the same time the amount should be divided equally among the 3 assetid and saved in the database.

Posted in ASPComments (1)

how to create a database in visual basic, using asp and data control?


what are the procedures in creating a vb program using asp or data control?

Posted in ASPComments (2)

how can I prevent database insertion after each refresh on a web browser in PHP?


In PHP when I add a data in a mysql database after pressing submit button, each refresh of the browser inserts the same data in the database again which is replication of row in that particular database. How I can prevent it ?Please Help me.

Posted in PHPComments (2)

delphi database q?


can some1 pls tell me how to put access tables into delphi?i need a detailed explanation.thx in advance

Posted in DelphiComments (1)

Delphi database ?


Where ( link) can i download a delphi database example.It must be working.

Posted in DelphiComments (1)

How do I connect to an SQL database that is on an intranet network through ASP?


If I wanted to connect to a standard Access database I would use:

Set adoCon = Server.CreateObject(”ADODB.Connection”)

adoCon.Provider=”Microsoft.Jet.OLEDB.4.0″
adoCon.Open “LOCATION OF DATABASE”

If i know the table name how would I connect to a an SQL database.

Posted in ASPComments (2)

How to send multiple HTML text inputs with same name into a SQL database with PHP?


I have a webpage I wrote in HTML, that has a javascript button that will add a row to a table to allow multiple inputs. Each iteration of the input text box has the same name attribute. When submitted, a PHP page connects to an MSSQL database through an ODBC connection and posts the inputs. However, if theres more than one, only one gets posted. Any idea on how to get the name and PHP script to auto increment the name attribute? Thanks.

Posted in PHPComments (1)

How to insert and update records into access database using a single save button in asp.net with c#?


I have to insert records from the textboxes into a database using a SAVE button. Then using a id I’l be retrieving the data when clicking a retrieve button. Then I’l be modifying the records and update it into the database using the same SAVE button. The problem for me is using the same SAVE button for both inserting and updating.

Posted in ASPComments (2)

How do I get the radio button for sex to go to a database using php


When using php what value would I have to set the field for sex to so that it would push the data to the database. Also can yoyu give an example of the code.
No.That code I have. What I am looking for is the data type that you would use on the database end. Im using WAMP with (phpMyAdmin) and manually making the database and the table.

Posted in PHPComments (3)

How can i connect SQL database With DSN less connection and with Windows Authentication in ASP?


Posted in ASPComments (1)

Categories