In this case,
    you should put 'datagrid.databind()' after the insert/update/delete
statement.
    then tha data table - gridview which display data to the client is going
to be updated.

On Tue, May 11, 2010 at 10:58 AM, Stephen Russell <[email protected]>wrote:

>  On Tue, May 11, 2010 at 8:49 AM, D0MZE <[email protected]> wrote:
> > Hello,
> >
> > I am not using the Visual Studio Wizard to create my stored procedures
> > to select/update/insert.
> > I created my own SP and associated them with my table adapter.
> >
> > In my Update and Insert stored procedures, I have a select statement
> > returning the row that has been inserted/updated.
> >
> > Now is there a way to enable the "refresh data table" option, so that
> > after I insert/update, my datatable is updated with the newly inserted/
> > updated value as well?
> > If not can it be extended i.e. can I hardcode it somewhere?
> >
> > Please help, this is driving me crazy!
> -----------------
>
> Not sure what control you are thinking of so I guessed
>
> <http://lmgtfy.com/?q=refresh+gridview+table>
>
> This should get you on your way.
>
>
> --
>  Stephen Russell
>
> Sr. Production Systems Programmer
> CIMSgts
>
> 901.246-0159 cell
>



-- 
Eder Sousa
Technology Information
[email protected]
[email protected]
[email protected]

Reply via email to