can someone please tell me how to link to another page after user hit update
here my coding BUT it does not work
i fight with them a week .. god please help


<%@ Page Language="vb" Debug="true" %>
<%@ Import Namespace="System.Data"%>
<%@ import namespace="system.data.sqlclient" %>
<script runat="server">

sub page_load
if not ispostback then
binddatagrid
end if
end sub

sub binddatagrid
dim conpubs as sqlconnection
dim cmdselect as sqlcommand

conpubs = new sqlconnection("Data source=SQLSTAGE.\SQLDEV;Initial catalog=Northwind;User id=wind;password=wind#1;")
cmdselect = new sqlcommand( "select * from customers", conpubs)
conpubs.open()
dgrcompanyname.datasource = cmdselect.executereader()
dgrcompanyname.databind()
conpubs.close()
end sub

sub dgrtitles_editcommand( s as object, e as datagridcommandeventargs)
dgrcompanyname.edititemindex = e.item.itemindex
binddatagrid
end sub

sub dgrtitles_cancelcommand( s as object, e as datagridcommandeventargs)
dgrcompanyname.edititemindex = -1
binddatagrid
end sub


sub dgrtitles_updatecommand( s as object, e as datagridcommandeventargs)
<asp:datagrid
id="updatecompay"
Autogeneratecolumns="false"
cellpadding="10"
runat="server">
<columns>
<asp:hyperlink datatextfield="companyname"
datanavigateurlfield="customerid"
datanavigateurlformatstring="address.aspx?id={0}" />
</columns>
</asp:datagrid>
end sub


</script>
<html>
<head><title><datagrideditcommand.aspx</title></head>
<body>
<form runat="server">

<asp:datagrid
id="dgrcompanyname"
Oneditcommand="dgrtitles_editcommand"
Oncancelcommand="dgrtitles_cancelcommand"
Onupdatecommand="dgrtitles_updatecommand"
datakeyfield="customerid"
Autogeneratecolumns="false"
cellpadding="10"
runat="server">

<columns>
<asp:boundcolumn
headertext="companytname"
datafield="companyname"/>

<asp:editcommandcolumn
edittext="edit"
updatetext="update"
canceltext="cancel" />

</columns>
</asp:datagrid>
</form>

</body>
</html>