Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4092920
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:33:09+00:00 2026-05-20T19:33:09+00:00

Hi i want to create a application in VB. And i have created all

  • 0

Hi i want to create a application in VB. And i have created all the forms, and in the meantime i want one form to connect to database(lets say form name, DB). I have created it and connected to Oracle. Now in that form (DB) i want to search the Oracle table for its ID(which have been manually created by me using SQL commands). And if the ID matches with the user entered input, then all other details of that ID(say name, address) should appear in that form! How to do this? Any idea, i’m very newbie in VB, so kindly help me! It will be good even if you put the code snippet 🙂

Please say me how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T19:33:10+00:00Added an answer on May 20, 2026 at 7:33 pm

    For an introduction on connecting to an Oracle DB from VB .NET you could take a look at this tutorial. The technique described in this article is a simple and fast technique for getting started, however for production applications I would strongly recommend a mapper such as Nhibernate. Once you have performed your SQL select statement against the Oracle DB you will need to copy the data that you have read into an object to pass up to the UI layer:

    Dim dr As OracleDataReader = cmd.ExecuteReader() ' VB.NET
    Dim userObject As New User()
    Dim name As String =  dr.Read()
    Dim address As String dr.Read()
    userObject.Name = name
    userObject.Address = address
    

    Once you have read the required data into memory you could use data binding to display the required data. Read more about it in this article. All you should need to do is create a control on your VB.NET form, and set the datasource the your userObject that you have read in from the database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to globalize my application. I have created a small form which asks
We have created an application which we want to run in a 64 bit
i have created an application which show data from user current location. I want
I have created a java application for Debian Linux. Now I want that that
I have seen the Contacts in iPhone Simulator. I want to create an application
I have created blank Asp.Net-MVC 3 web application and want to write my own
I have a Homework Planner application which I want to create an Alarm for
I have a java application develeped in netbeans. I want to create a batchfile
I have created MDI application in Delphi. Lets assume that I have a bunch
I have created a forms application which uses a TabControl. For each tab I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.