675

(asp.net) dataList and LoginView databinding problem

I have a LoginView inside an ItemTemplate of DataList Control. Now I want to make the bind of a value from DataList. hello () It gives me the following error:CS0117: 'System.Web.UI.WebControls.LoginView' does not contain a definition for 'DataItem'because it is trying to get values from LoginView Control and not DataList, how to write correct this expression: ? In order to bind to DataList as I am expecting.Thanks
0