Ya,

u can do it through Self Posting.

Here is the code:

page1.asp

<% If Request("txt1") = "" or Request("txt2") = "" Then %>

<form method=post action="" id=form1 name=form1>
<input type=text name=txt1 id=txt1><BR>
<input type=text name=txt2 id=txt2><BR>
<input type=submit va;ue="SUBMIT">
</form>

<% Else %>

<%

' ' ' ' ' If con is ur connection object

con.execute "UPDATE tablename SET field1 = '" & request("txt1") & "',
field2 = '" & request("txt2") & "' WHERE " & urcondition & ""

End If 
%>
-- 
Balaji V


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to