Re: Manipulating Datagrid Cells

Tech-Archive recommends: Fix windows errors by optimizing your registry



PreRender event.

Eliyahu

"David Tilman" <DavidTilman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DBF9B329-83F2-4E91-B31F-17AE3030FE89@xxxxxxxxxxxxxxxx
> I have an ASP .NET web application that changes datagrid cells in the
> ItemDataBound event, like changing the Columnspan of a cell to 2 and
deleting
> the adjacent cell, so that I have two cells merged into one. I was wanting
to
> do something similar in another part of the program (right after the
> DataBind() for the datagrid). Where I could select a particular cell index
> and row index and merge two cells of the datagrid.
>
> What is the best approach for this? I've been trying to research it, but
> haven't found much info. It seems like inside the ItemDataBound event I'm
> handling the control more like an HTML table than a Datagrid control,
which
> is adding to the confusion of handling this outside of this event.


.



Relevant Pages

  • Re: Issues with datagridview last record updating sql database
    ... all populated with the current record in the datagrid... ... name to update tmpX? ... In my sample I edit one field and update it immediately. ... You can custom color cells, fonts, change ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Prevent Tab navigation in Datagrid
    ... > How can avoid Tab navigation on cells in Datagrid. ... I want Tab keys acts ... I managed to do this by subclassing datagrid and then overriding the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Manipulating Datagrid Cells
    ... I have an ASP .NET web application that changes datagrid cells in the ... ItemDataBound event, like changing the Columnspan of a cell to 2 and deleting ... DataBindfor the datagrid). ... handling the control more like an HTML table than a Datagrid control, ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: C# DatagridView
    ... this example displays value of each cells in datagrid ... // Assumes the DataGrid is bound to a DataTable. ... >> loop through entire table and get the rowindex of row which has that column ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: redrawing the datagrid
    ... editing mode. ... After hit the "update" button, the last row in the datagrid will appear ... Forexample, when we hit the edit button and turn into edit mode, some cells ...
    (microsoft.public.dotnet.framework.aspnet)