I have created many screens which all have a DataGrid and a set of buttons.
I decided to attempt to create a user control which would contail a DataGrid
and this set of buttons. However, the DataGrid functions dirrerently in the
user control then when I put the DataGrid directly on the form.
In both cases the dataset contains only one table. When the DataGrid is
directly on the form it imediately shows the data. But when I use the user
control it appears blank with a + sign. When you click on the + sign it then
shows the table name. When you click on the table name you then get the data.
I've gotten around those two problems by adding
Me.uCtrl.DataGrid.Expand(-1)
Me.uCtrl.DataGrid.NavigateTo(0, "ServObj")
However, I'm getting a header of "NewDataSet:" which is comming from me.uCtrl.
uDataSet.tables(0).dataset.datasetname
I don't get this header when the DataGrid is directly on the form and I don't
want it!! How the heck do I kill it?
Thanks,
Craig
--
Message posted via http://www.dotnetmonster.com