Re: stupid questions re: DatagridView



Scott;

I can't even see the title bar of the DGV! Your syntax only change the name
at runtime, I think.

Thanks
Bill
"Scott Collier" <nospamplease@xxxxxxxxxxxx> wrote in message
news:448863bd$1@xxxxxxxxxxxxxxxxxxx
DGV.Name ="whatever"

where DGV is your DataGridView

Regards
Scott

"Bill Nguyen" <billn_nospam_please@xxxxxxxx> wrote in message
news:OAvRjsxiGHA.1272@xxxxxxxxxxxxxxxxxxxxxxx
Hello;

I'm talking about DatagridView, not Datagrid. Those properties not found
in DatagridView.

Thanks for your help anyway :-)

Bill

"IdleBrain" <indianmostwanted@xxxxxxxxx> wrote in message
news:1149784424.289262.113570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hello:

1. Where to put the header/banner/caption text for a Datagridview? I
want to
label the DGV "my 2nd DGV"

urDatagrid. CaptionText = "my 2nd DGV"


2. How do I set alternate row background color? I want light gray and
yellow-green alternately.

urDatagrid.AlternatingBackColor = System.Drawing.Color.LightGray
urDatagrid.BackColor = System.Drawing.Color.YellowGreen

Hope it helps.







.



Relevant Pages

  • Re: Datagridview
    ... Das ist eigentlich ohnehin das normale Verhalten des DGV. ... Private WithEvents DGV As DataGridView ... DGV = New DataGridView ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: simple question about ref with object?? PLEASE HELP
    ... the DataSet was null not the dgv! ... i need to use ref because i have a 2 datagrid views that have ... then obviously has to change the datagridview passed to it. ... i have Form1, the datagridview is ON Form1 and FillColumnsis in ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Ladegeschwindigkeit eines ListViews
    ... Wieso Template-Rows? ... Also - eine Zeile kann in einem DataGridView ... VirtualMode beeinflusst. ... DGV unterscheidet ListView und und DGV hier erheblich. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Frage zu DataGridView
    ... Meinst Du die vertikale Scrollbar des DGV? ... Hier ein kleines Beispiel mit einem DataGridView das ... Private mDT As DataTable ... DGV = New DataGridView ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: DataGridView und Tastatur
    ... welche der DataGridView (DGV) erhält innerhalb der Form reagieren können. ... Während der Eingabe in einer Zelle möchte/muss ich ebenfalls alle Tastaturevents behandeln innerhalb der Form können. ... DataGridView gar nicht selektiert ist. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)

Loading