Home All Groups Group Topic Archive Search About

How to view objects properties for DataBind

Author
15 May 2006 3:31 PM
James
Hi

I'd like to view which properties of a data object are available to me
for the DataTextField and DatavalueField properties of most databound
controls in a webform. These are usually recordset types and I'd like
to see what fields I have available without seeing the underlying
database.

Any ideas?

Thanks!
James

Author
15 May 2006 6:49 PM
Ken Tucker [MVP]
Hi,

           Use the propertygrid control instead. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformspropertygridclasstopic.asp

Ken
----------------------------


Show quoteHide quote
"James" wrote:

> Hi
>
> I'd like to view which properties of a data object are available to me
> for the DataTextField and DatavalueField properties of most databound
> controls in a webform. These are usually recordset types and I'd like
> to see what fields I have available without seeing the underlying
> database.
>
> Any ideas?
>
> Thanks!
> James
>
>
Author
16 May 2006 7:09 AM
James
Thanks Ken - do you know if there is a WebForms equivalent?

Thanks again!
Author
16 May 2006 7:33 AM
James
Ignore this last post - I just introduced myself to .net
system.reflection!

Thanks
James