Re: quick issue
From: troy (troy_at_ttech.com)
Date: 06/01/04
- Next message: pnp: "Using inner controls from a tab page control"
- Previous message: Jon Skeet [C# MVP]: "Re: quick issue"
- In reply to: Jon Skeet [C# MVP]: "Re: quick issue"
- Next in thread: Jon Skeet [C# MVP]: "Re: quick issue"
- Reply: Jon Skeet [C# MVP]: "Re: quick issue"
- Reply: Bruno Jouhier [MVP]: "Re: quick issue"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Jun 2004 02:01:54 -0700
sorry - didnt mean to offend anybody.
The issue is that I dont know how to update the fields changed in the
datagrid when a user clicks on the edit function. I tried using the
following logic but it gives me an castring error:
// Gets the value the TextBox control in the third column
tb = (TextBox)(e.Item.Cells[1].Controls[0]);
username = tb.Text;
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1b26542e5556bb8498aab3@msnews.microsoft.com...
> Bruno Jouhier [MVP] <bjouhier@club-internet.fr> wrote:
> > What's the problem?
> >
> > You cannot just post a piece of code and expect that people are going
to:
> > a) try to figure out what you are trying to do
> > b) try to figure out what is going wrong
> > c) fix your problem
>
> Agreed.
>
> > You need to give more context. Otherwise nobody's going to help you.
> > Also, don't post whole files like this, only post small pieces of code
that
> > are relevant to your problem.
>
> While I agree that posting huge chunks of code isn't nice (especially
> when OE has mangled it so there's an empty line between each line of
> code), I have a strong personal preference for whole files. Whole files
> can be cut and paste, and then compiled with no further effort.
> Snippets take more time. I just like the whole files to still be small
> :)
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too
- Next message: pnp: "Using inner controls from a tab page control"
- Previous message: Jon Skeet [C# MVP]: "Re: quick issue"
- In reply to: Jon Skeet [C# MVP]: "Re: quick issue"
- Next in thread: Jon Skeet [C# MVP]: "Re: quick issue"
- Reply: Jon Skeet [C# MVP]: "Re: quick issue"
- Reply: Bruno Jouhier [MVP]: "Re: quick issue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|