User1747761241 posted
Please ask the group what your having trouble converting and don't give up on it.
You can use c# as is in a vb website. add a c# webproject to the website. drop the treeviewadapter.cs into the c# webproject and add a reference to the c# webproject to your website.
May I invite you to learn javascript to further your web development skill set? You actually get the proverbial two birds with one stone.
c# is like javascript
[] for index on array just like javascript.
if(condition) {code block}; again just like javascript.
end function is a close bracket } and again just like javascript.
next is a close bracket } again just like javascript.