Datagrid not showing up
-
I have dragged a query from an access database onto a web form, configured the oledbadapter to point to the correct connection, generated a dataset out of that, and in the properties box of the datagrid I have set its datasource and other properties. If I do a preview of the dataset and fill it, it shows the data. However, when I view in browser the datagrid does not even show up. I have not used any behind code in this as far as binding the dataset to the datagrid, etc. b/c I am thinking that it was already set when I changed the property settings for that datagrid.... Am I correct in thinking this? If so, does anyone know why my datagrid will not show up? Thanks "Nothing is at last sacred, but the integrity of your own mind." "What lies behind us and what lies before us are nothing compared to what lies within us." - Ralph Waldo Emerson
-
I have dragged a query from an access database onto a web form, configured the oledbadapter to point to the correct connection, generated a dataset out of that, and in the properties box of the datagrid I have set its datasource and other properties. If I do a preview of the dataset and fill it, it shows the data. However, when I view in browser the datagrid does not even show up. I have not used any behind code in this as far as binding the dataset to the datagrid, etc. b/c I am thinking that it was already set when I changed the property settings for that datagrid.... Am I correct in thinking this? If so, does anyone know why my datagrid will not show up? Thanks "Nothing is at last sacred, but the integrity of your own mind." "What lies behind us and what lies before us are nothing compared to what lies within us." - Ralph Waldo Emerson
cavall wrote: I have not used any behind code in this as far as binding the dataset to the datagrid, etc. Have you add
mydataadapter.Fill(dataset);
in your code-behind? Mazy "Man is different from animals in that he speculates, a high risk activity." - Edward Hoagland