Re: Datagrid on Webform - How to update? Help
abacnet_at_hotmail.com
Date: 07/25/03
- Next message: Brian Stevenson: "DirectoryEntry works for anonymous, but not for usern/pass"
- Previous message: Ash: "Datagrid on Webform - How to update? Help"
- In reply to: Ash: "Datagrid on Webform - How to update? Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 24 Jul 2003 19:21:25 -0400
Nice rule from experience :
1-If you are used with stored procedures use them or learn to use them --
otherwise you will lose time by using the wizard to generate dataadapters (I
wish someone told me that before)
2-Put functionality to get data and bind grid in a procedure and call it
after update is cuccessful (also here if you want to save time use stored
procedure to save)
In the meantime you can check if the dataadapter's Update command is well
configured in design mode...
"Ash" <aliasgerj@hotmail.com> wrote in message
news:O$yCaHjUDHA.736@TK2MSFTNGP09.phx.gbl...
> 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
>
>
- Next message: Brian Stevenson: "DirectoryEntry works for anonymous, but not for usern/pass"
- Previous message: Ash: "Datagrid on Webform - How to update? Help"
- In reply to: Ash: "Datagrid on Webform - How to update? Help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|