thanks all for the reply, i have used the itemDataBound event of the listview as bellow:
<asp:listview id="lvProduct" runat="server" onitemdatabound="lvProduct_ItemDataBound" >
</asp:listview>
then at the code behind i have get the data from database and pass it to the label in listview.
protected void lvProduct_ItemDataBound(object sender, ListViewItemEventArgs e)
{
if (e.Item.ItemType == ListViewItemType.DataItem)
{
Label EmpIDLabel = (Label)e.Item.FindControl("EmpIDLabel");
System.Data.DataRowView rowView = e.Item.DataItem as System.Data.DataRowView;
EmpIDLabel.Text = rowView["EmpID"].ToString();
}
}