VB.Net   DataBind

Posted on 2011-10-07
Last Modified: 2012-06-27
I am pretty new of VB.Net. I have a question here.
See the code below.
The fronted is a table, and the code behind is doing the data bind. All I need is add 2 more filed to the frontend and bind these 2 fields to database (I already know the 2 new data if from differnet database, i need to link the 2 tables)

But now my problem is I dont know how to find out which table (data source) those fields are bind to?
Dim DI As New DT_DealInformation(Session("pno").ToString.Trim)
DT-DealInformation must be a pre defined class which may contain the database information?
But I dont even know how to locate the place of DT_dealinformation.
I did rearch in entir project but does not show.
Need some advise .
#Region "Bind CTI Space Information"

        Private Sub BindCTISpaceInformation()

            Dim DI As New DT_DealInformation(Session("pno").ToString.Trim)
            Dim dr As SqlDataReader
            dr = DI.GetCTISpaceData((Session("Pno")), (Session("LeaseId")), (Session("Space_Number")))

            While dr.Read

                If IsDBNull(dr("RegionCode")) = False Then
                    Me.txtRegion.Text = dr("RegionCode").ToString
                    txtRegion.Text = ""
                End If

Open in new window

Question by:FinghtingMiao
    LVL 83

    Accepted Solution

    I suspect that either a DAL(Data Access Layer) in a DLL is being used or some sort of service (web service/WCF service etc) is being used.

    Author Closing Comment

    That is right, I found it there! Thank you !
    LVL 83

    Expert Comment

    Glad to help :-)

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
    Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now