I am converting my old aspmaker to aspmaker dot net
Previously I was able to hide the add button if already had a single record. I am now not sure how to load this code.
Can anyone help with this code please. Current code is not working. Thanks
// Page Load event
public void Page_Render() {
If Page.TotalRecs = "1" Then
Set item = AddEditOptions.GetItem("add")
item.Visible = False
}