I needed the code in VB.Net but C# is also understandable you know

Thank you for the support. I have not tested your suggestions. However, I copied new link button code from ItemTemplate to EmptyDataTempate like this:
<EmptyDataTemplate>
No data found.<br />
<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False"
CommandName="New" Text="New" />
</EmptyDataTemplate>
and It is working. I am not sure that my approach is professional or not, any idea?