Re: Datagrid problems

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



Check this out,
http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/msg/e0030b219ff6f97c

Cheers,
Arun

On Jul 1, 2:23 am, Pedro Januário
<PedroJanu...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
My problem isn't identify when the scroll is visible, the problem is that i
changed the columns width and that isn't reflected to the screen.
Even if i call refresh or update method of the datagrid object.



"Arun" wrote:
In the datagrid re-size event, check to see if the VScrollBar is
visible,
then loop through the DataGridColumnStyle  in the DataGridTableStyle
and chage shrink the columns to grid width.

On Jun 30, 9:43 am, Pedro Januário
<PedroJanu...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I need to put the datagrid scrollbar always visible, and i don't know if its
possible.
I have tryed another aproach but didn't work too, i was trying to shrink
column size every time scroll need to be displayed, the problem is that the
update or refresh method doesn't change the column size.- Hide quoted text -

- Show quoted text -

.



Relevant Pages

  • Re: Can this be done using a Data adapter??
    ... adapter's update method in this scenario. ... table1 as the columns of the datagrid view and records of table2 as ... view and manually run the insert or update SQL commands. ... The SQL statements, will just process the changed data, where ever or ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: DataGrid
    ... One question - have you loaded data from the DB into the datagrid? ... >> dataadapter's Update method, passing the dataset you use. ... >> Rakesh Rajan ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Can this be done using a Data adapter??
    ... adapter's update method in this scenario. ... table1 as the columns of the datagrid view and records of table2 as ... I was wondering can i use the data adapter to fetch data of table3 ... I suggest you need to let SQL process the data. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Duplicate insert problem
    ... Why is the datagrid showing me two of the same records even ... > // calling the update method and passing the dataset and any parameters. ... > catch (System.Exception eUpdate) ... > // Add your error handling code here. ...
    (microsoft.public.dotnet.framework.adonet)
  • RE: Is possible to edit the table returned by SqlDataReader?
    ... No you cannot edit table returned by SQL reader you must have dataset as ... datasource and then create adapter and call its Update method with dataset of ... "Wing" wrote: ... > SqlDataReader object and display it with datagrid. ...
    (microsoft.public.dotnet.languages.csharp)