I have a gridview and I'd like to summarise data in it and I found some code to help me do that on the following websi开发者_StackOverflow社区te: http://www.agrinei.com/gridviewhelper/gridviewhelper_en.htm.
The thing is, when I tried to convert and use it in my program, GridViewHelper just refused to be recognised and so, now I'm stuck. Please let me know the right procedure to implement the same in VB. Thanks!
It seems like the converter had some problem. Try rename the method
Public Sub GridViewHelper(ByVal grd As GridView, ByVal useFooterForGeneralSummaries As Boolean, ByVal groupSortDirection As SortDirection)
Like the following
Public Sub New(ByVal grd As GridView, ByVal useFooterForGeneralSummaries As Boolean, ByVal groupSortDirection As SortDirection)
Because the constructor in C# is the class name itself, but in VB.Net its new only.
精彩评论