How can i get a attribute from the database ?
I see in the manuels for manual custom attributes but none from a database.
Database bind :
Call
How can i Call the ID field on the database ?
I see in the manuels for manual custom attributes but none from a database.
Database bind :
Dim adapter As New SqlDataAdapter("SELECT * FROM TblPages", _ |
ConfigurationManager.ConnectionStrings("Varodb").ConnectionString) |
Dim Menu As New DataSet() |
adapter.Fill(Menu) |
RadMenu1.DataTextField = "Pagename" |
RadMenu1.DataFieldID = "ID" |
RadMenu1.DataFieldParentID = "PageID" |
RadMenu1.DataSource = Menu |
RadMenu1.DataBind() |
Call
Protected Sub Click(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs) |
Label1.Text = "ItemClick: " + e.Item.Text |
End Sub |
How can i Call the ID field on the database ?