Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Datagrid Control (http://www.velocityreviews.com/forums/f60-asp-net-datagrid-control.html)
-   -   how to reach programmatically a fieldl in a datalist? (http://www.velocityreviews.com/forums/t763098-how-to-reach-programmatically-a-fieldl-in-a-datalist.html)

David 01-08-2007 02:45 PM

how to reach programmatically a fieldl in a datalist?
 
Hi,

i made a datalist with records containing several fields.
I need to reach one particular field in code-behind.
I don't know which event to choose. I tried with several events but but it
all failed:

Protected Sub DataList1_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataListItemEventArgs) Handles
DataList1.ItemDataBound
e.Items.Controls(...)

Protected Sub DataList1_ItemCreated(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataListItemEventArgs) Handles
DataList1.ItemCreated
e. ...

Protected Sub DataList1_DataBinding(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DataList1.DataBinding
...

Thanks
David




All times are GMT. The time now is 02:01 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.