I have tried every example for adding a dropdown box to the AJAX Grid with none of them really working including:
I am using Visual Studio 2008 and SQL 2005. I am programming in VB.
I created the custom class as outlined in the above sample, but it has an error in the line:
If Me.DataType = GetType("System.Int32") OrElse Me.DataType = GetType("System.Int16") OrElse Me.DataType = GetType("System.Int64") Then
filterItem.FireCommandEvent("Filter", New Pair("EqualTo", Me.UniqueName))
The error states "Type expected".
Is there a CLEAR example for this using VB and SQL?
If not, could I get some help creating one to add here to the forum so we can all share it?
Here is my ASPX page.
I am using SQL as my data base with the conection string in the web.config file as 'smsConnectionString'.
The table and fileds are in the SQL command statement in the ASPX file.
Thank you in advance for any help.