Remove specific datagrid tablestyle
From: Bob (Bob_at_discussions.microsoft.com)
Date: 01/11/05
- Next message: Cor Ligthert: "Re: VB.NET vs C#"
- Previous message: Frankie: "Re: HELP! - FileSystemWatcher Problems"
- Next in thread: Chris, Master of All Things Insignificant: "Re: Remove specific datagrid tablestyle"
- Reply: Chris, Master of All Things Insignificant: "Re: Remove specific datagrid tablestyle"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 04:07:03 -0800
is it possible to remove just a specific tablestyle and keep anyothers that
may exist? I've got the folowing code:
Dim TS As New DataGridTableStyle
TS.MappingName = "ABQTG0UN"
.....
Datagrid1.TableStyles.Add(TS)
.....
If (Datagrid1.TableStyles.Contains("ABQTG0UN") = True) Then
Datagrid1.TableStyles.Remove(TS)
-------------------------
If tried both TS and "ABQTG0UN" as the argument in the .Remove, but neither
one works.
- Next message: Cor Ligthert: "Re: VB.NET vs C#"
- Previous message: Frankie: "Re: HELP! - FileSystemWatcher Problems"
- Next in thread: Chris, Master of All Things Insignificant: "Re: Remove specific datagrid tablestyle"
- Reply: Chris, Master of All Things Insignificant: "Re: Remove specific datagrid tablestyle"
- Messages sorted by: [ date ] [ thread ]