Help with some basics in VB!! RRS feed

  • Question

  • Hi,
    I am basically trying to have say 2 input fields(name and title) ,also a list or combo box which will output the database entries.wit add, remove and exit botton.
    It shud give me and error msg if any of the fields are not filled up.(wen user hits the add botton) else shud give the current date time and the name n title which was added.

    Pretty new to VB. Hope to get an idea wit some suggestions.

    Sunday, July 21, 2013 4:57 PM


  • What technology are you using for your program? Is it a web application (as inferred from the "input fields" terminology that you used)? If you use ASP.NET MVC, you would simply need to create a Model with the two fields and then use the Wizard un Visual Studio for adding a new Controller. The resulting Controller and Views would automatically do almost everything that you mentioned.

    Since you placed the question in the Training and Certification forum, I'll recommend course 20486 if you need to learn more about ASP.NET MVC.

    Sunday, July 21, 2013 5:12 PM