H
Hanover
What I want to do seems like it should be simple:
1. Create a new web control
2. Place a datagrid on it and set it's ID to dgFiles
3. Assign it's datasource.
Sub ShowFiles()
Dim ds as dataset
....code here...
dgFiles.DataSource = ds
End Sub
When I assign it's datasource, it is saying dgFiles is not set to
anything which is stupid since intellisense is acting like it's there
and ready to be used.
So how do I reference to a control on my Web User Control?
1. Create a new web control
2. Place a datagrid on it and set it's ID to dgFiles
3. Assign it's datasource.
Sub ShowFiles()
Dim ds as dataset
....code here...
dgFiles.DataSource = ds
End Sub
When I assign it's datasource, it is saying dgFiles is not set to
anything which is stupid since intellisense is acting like it's there
and ready to be used.
So how do I reference to a control on my Web User Control?