Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Datagrid column edit

4 views
Skip to first unread message

patmyers

unread,
Jan 12, 2009, 11:49:48 AM1/12/09
to
How can I edit the following column in a datagrid . I am using vb 2005

Dim tableStyle As New DataGridTableStyle()
tableStyle.MappingName = "product"

'Product Code
Dim col1 As New DataGridTextBoxColumn
col1.MappingName = "prod_code"
col1.HeaderText = "Code"
col1.Width = 25
tablestyle.GridColumnStyles.Add(col1)
----

I have tried the readonly = false but this dosen't work. Help appreciated.
Pat

Jeff Johnson

unread,
Jan 15, 2009, 10:36:48 PM1/15/09
to
"patmyers" <u48803@uwe> wrote in message news:9014ffcbcc5ca@uwe...

> I am using vb 2005

[Canned response]
This is a VB "classic" newsgroup. Questions about VB.NET (including VB
2005/2008,
which have dropped .NET from their name) are off-topic here.

Please ask .NET questions in newsgroups with "dotnet" in their names. The
*.vb.* groups are for VB6 and earlier. If you don't see the *.dotnet.*
groups on your news server, connect directly to the Microsoft server:
msnews.microsoft.com.

For questions specific to the VB.NET language, use this group:
microsoft.public.dotnet.languages.vb

Please note that things like controls and data access, which have their own
subgroups in the Classic VB hierarchy, are not language-specific in .NET, so
you should look for groups like these:
microsoft.public.dotnet.framework.windowsforms.controls
microsoft.public.dotnet.framework.adonet
(Note that "vb" is not present in the group name.)


0 new messages