Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Editable table from database

Status
Not open for further replies.

biggie5260

Technical User
Mar 8, 2009
4
0
0
MY
Hi,

I want a webpage that view editable table from database. I would like to use ASP Javascript and MS Access . Is there any sample that code? A simple code also be sufficient enough

Is there anyone can help me.

Thanks in advance :)

CODE:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style3 {color: #009933}
-->
</style>
</head>

<body>
<p>Below are the books for the category: </p>
<table border="1" cellspacing="2" cellpadding="2">
<thead>
<tr>
<th><span class="style3">ISBN</span></th>
<th><span class="style3">NAME</span></th>
<th><span class="style3">DETAIL</span></th>
<th><span class="style3">QUANTITY</span></th>
<th><span class="style3">PRICE</span></th>
<th>Delete</th>
<th>Edit</th>
</tr>
</thead>
<tbody>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>Delete</td>
<td>Edit</td>
</tr>

</tbody>
<tfoot>
<tr>
<td colspan="7" align="right">&nbsp;</td>
</tr>
</tfoot>
</table>
<p>
<input type="submit" name="buttAdd2" id="buttAdd2" value="Add" />
</p>
<p>***</p>
<p>1) I can query the database with value but dont know how to make the &quot;<strong>Edit</strong>&quot; and &quot;<strong>Delete</strong>&quot; function worksd</p>
<p>2) If i click the <strong>Add</strong> button, i would redirect the another webpage or add in this page itself</p>
<p>3) Is there any way to make this work or do i need to change anything?</p>
</body>
</html>

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top