you cant drag a class into a form, the whole idea of the Class is that you can have various functions relating to one class.
Public Class MyModules
Public Shared Function getConnectionString() As String
getConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings("TestConnectionString").ToString()
So if i want to get the connection string for my database, i would use this code:
As you can see, MyModules is the class, getConnectionString is a function of that class.
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...