It is VB code similary you can do in C#
Dim ddlCargoGrade As DropDownList = CType(lItem.FindControl("ddlItems"), DropDownList)
ddlCargoGrade.Visible = True
Dim emptyItem As ListItem = New ListItem("", 0)
ddlCargoGrade.Items.Insert(0, emptyItem)
ddlCargoGrade.AppendDataBoundItems = True
ddlCargoGrade.DataSource = TestCache.Get_All
ddlCargoGrade.DataTextField = "GetName"
ddlCargoGrade.DataValueField = "GetId"
ddlCargoGrade.SelectedIndex = 0
ddlCargoGrade.DataBind()
ddlCargoGrade.Visible = False