Convert C# (with typed events) to VB.NET

后端 未结 4 863
太阳男子
太阳男子 2021-01-07 11:23

I have an ASPX page (with VB Codebehind). I would like to extend the GridView class to show the header / footer when no rows are returned.

I found a C# example onli

4条回答
  •  余生分开走
    2021-01-07 11:51

    Please see here.

    There is no exact equivalent to this for VB.

    Use a 'Sub' delegate with a 'ByRef' parameter instead.

    A follow-up answer gives an example that works, but explains why it's a bad idea.

提交回复
热议问题