Click here to Skip to main content
15,920,629 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: MSFlexGrid Pin
johnjsm24-Aug-04 1:09
johnjsm24-Aug-04 1:09 
GeneralRe: need help Pin
Mekong River23-Aug-04 5:32
Mekong River23-Aug-04 5:32 
GeneralRe: need help Pin
Member 90460523-Aug-04 15:09
Member 90460523-Aug-04 15:09 
GeneralA VB.Net beginner Problem Pin
kitsam22-Aug-04 18:20
kitsam22-Aug-04 18:20 
GeneralConnecting Pocket pc2002 to SQL 2000 Pin
paulmichel22-Aug-04 8:49
paulmichel22-Aug-04 8:49 
GeneralRe: Connecting Pocket pc2002 to SQL 2000 Pin
S Sansanwal22-Aug-04 13:47
S Sansanwal22-Aug-04 13:47 
GeneralDataListView Pin
sagmam22-Aug-04 3:16
sagmam22-Aug-04 3:16 
GeneralRe: DataListView Pin
S Sansanwal22-Aug-04 18:19
S Sansanwal22-Aug-04 18:19 
The control code has a check wherein if AutoDiscover property is set to false then DataListView would take default column names from the datasource. To achieve this, existing columns are deleted

Check:

Public Property AutoDiscover() As Boolean
Get
Return mAutoDiscover
End Get
Set(ByVal Value As Boolean)
If mAutoDiscover = False AndAlso Value = True Then
mAutoDiscover = Value
DoAutoDiscover()
Else
mAutoDiscover = Value
If mAutoDiscover = False Then
mColumns.Clear() ' THIS LINE
End If
End If
End Set


Refer:

Auto-Discovery of Metadata
While it is nice that the end programmer can manually specify the columns to be displayed, along with the data fields to which they are bound, we should also provide a more automated alternative. Ideally, the control should be able to examine the data source and use its metadata to determine all the available data fields. Column headers can then be created for each field so the control can bind to all available fields.




Sanjay Sansanwal
www.sansanwal.com
GeneralRe: DataListView Pin
sagmam22-Aug-04 19:54
sagmam22-Aug-04 19:54 
GeneralVB.NET socket, Threading and Database Problem Pin
jimmypearly21-Aug-04 21:56
jimmypearly21-Aug-04 21:56 
GeneralRe: VB.NET socket, Threading and Database Problem Pin
Dave Kreskowiak23-Aug-04 6:29
mveDave Kreskowiak23-Aug-04 6:29 
Generalchanging ip's a problem... Pin
ineedhelp21-Aug-04 21:52
ineedhelp21-Aug-04 21:52 
GeneralRe: changing ip's a problem... Pin
Daniel Turini21-Aug-04 22:22
Daniel Turini21-Aug-04 22:22 
Generalproject ideas Pin
mkb_198221-Aug-04 21:22
mkb_198221-Aug-04 21:22 
GeneralRe: project ideas Pin
S Sansanwal22-Aug-04 13:43
S Sansanwal22-Aug-04 13:43 
GeneralProxy Server... i.e. HTTP and Sock version 4 & 5 Pin
ihjaffery21-Aug-04 9:15
ihjaffery21-Aug-04 9:15 
GeneralRe: Proxy Server... i.e. HTTP and Sock version 4 & 5 Pin
Anonymous21-Aug-04 9:44
Anonymous21-Aug-04 9:44 
GeneralCreating Pocket PC apps w/ VB .NET Pin
Glisson21-Aug-04 6:57
Glisson21-Aug-04 6:57 
GeneralRe: Creating Pocket PC apps w/ VB .NET Pin
Colin Angus Mackay21-Aug-04 7:33
Colin Angus Mackay21-Aug-04 7:33 
GeneralRe: Creating Pocket PC apps w/ VB .NET Pin
Glisson21-Aug-04 9:16
Glisson21-Aug-04 9:16 
GeneralRe: Creating Pocket PC apps w/ VB .NET Pin
Dave Kreskowiak21-Aug-04 10:37
mveDave Kreskowiak21-Aug-04 10:37 
GeneralRe: Creating Pocket PC apps w/ VB .NET Pin
Glisson21-Aug-04 10:42
Glisson21-Aug-04 10:42 
Generalwmplayer and transparencykey Pin
ddd0121-Aug-04 6:13
ddd0121-Aug-04 6:13 
GeneralRe: wmplayer and transparencykey Pin
Anonymous21-Aug-04 9:15
Anonymous21-Aug-04 9:15 
GeneralRe: wmplayer and transparencykey Pin
ddd ssss21-Aug-04 14:38
ddd ssss21-Aug-04 14:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.