Hi,
I am trying to bind a hashtable to a detailsview in my ASP.NET web app. When I do this, the detailsview does not appear on the webpage when I do a debug. I have checked ALL the properties for the control and ensured that the visible and autogeneratecolumns (there is no autogeneraterows property) is set to true, and it is.
Also, I want to bind this detailsview to a hashtable, but when I do, I keep getting object reference not set to an instance of an object errors due to the datasource property or when I say datasource = strings.keys (where strings is the Id of the hashtable). I can understand why this happens, as the strings.keys property is null (hasn't been specified, even when I specify it from using an external example of how this property is used, same error). I was expecting the detailsview to just render an empty table with Key and Object rows. How could I achieve that? Eventually, I want to bind a label to a value I get back from the hashtable (using a function returning a string).
Thanks