Datagrid on Webform - How to update? Help

From: Ash (aliasgerj_at_hotmail.com)
Date: 07/25/03


Date: Fri, 25 Jul 2003 06:21:22 +0800


Hi,

I'm using Vb.NET webform, connecting to sql server database on the local
machine. I used datagrid propery builder to add the edit, update and cancel
colum. On the code, i have:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
SqlDataAdapter1.Fill(DataSet11)
DataGrid1.DataBind()
End Sub

When i run the page, i can see the content on the browser, but when i click
on update, nothing happens.
Any tips/ideas how i can do the update?

Thanks,
Ash



Relevant Pages

  • Re: Limiting the times a record can be updated
    ... >will only be able to edit said record one time. ... In the form's Before update event, ... and cancel the update if it's true: ... Private Sub Form_BeforeUpdate ...
    (microsoft.public.access.formscoding)
  • Enabling/Disabling Buttons
    ... form (Add, Edit, OK, Cancel, Delete, and Save). ... implement this functionality in a utility method but to no avail. ... Private Sub EnableButtons ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Event Macro - propogate formula
    ... Private Sub Worksheet_BeforeDoubleClick(_ ... Cancel = True 'Eliminate Edit status due to doubleclick ...
    (microsoft.public.excel.misc)
  • cant edit record anymore in a form
    ... the Allow Edit and Allow Additions properties of the form are all set ... Private Sub Form_BeforeInsert ... Dim strMsg As String ... Cancel = True ...
    (microsoft.public.access.forms)
  • Re: trapping users leaving new record b4 entring reqd data
    ... that out when i got your vba. ... Private Sub Form_BeforeUpdate ... Dim strMsg As String ... Cancel = True ...
    (microsoft.public.access.modulesdaovba)