Solved

code missing for updating a table

Posted on 2000-03-19
7
185 Views
Last Modified: 2010-04-09
I copied this homepage from a local web site. But there was something missing in this homepage. I want to see the user press the button. And an update then will be made to the table above the input table! please come in here to see the situation.

http://home.netvigator.com/~luckie

0
Comment
Question by:whluk
7 Comments
 
LVL 2

Expert Comment

by:kikkertm
ID: 2633153
Do you want it done serverside or clientside ? If serverside, can you use ASP or CGI (perl e.g.) ?
0
 

Author Comment

by:whluk
ID: 2633258
Which one is the most convenient way?
A simple solution will do! (this is a fake homepage for a television drama)
(perhaps clientside)
Thanks
Jacky
0
 
LVL 1

Expert Comment

by:lambda
ID: 2634789

I am not sure I understand the problem...
Can you explain more clearly please ?
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 4

Expert Comment

by:FRehman
ID: 2635196
pl write in brifly what you want
0
 

Author Comment

by:whluk
ID: 2635265
What I would like to do is to make a new row on top of the table after the user presses the bid button... probably gets refreshed after the event...
0
 
LVL 4

Accepted Solution

by:
FRehman earned 50 total points
ID: 2635362
when some one bidding then at last the values are to be saved in database then you can simply refresh the page for this purpose you have the asp page which run server side and display the record on client side
<%
set Conn=server.createObject("ADODB.Connection")
Conn.open "test"
strsql = "SELECT * FROM GRCRoomNights " 
set desc = server.CreateObject("ADODB.Recordset")
desc.Open strsql,Conn, 3
%>
<html>
<body>
<table>
<% while not desc.EOF %>
<tr>
<td><%=desc("Name")%></td>
</tr>
   <% desc.MoveNext
   Wend%>

</table>
</body>
</html>
0
 

Author Comment

by:whluk
ID: 2643410
thank you
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question