?
Solved

VB.Net   DataBind

Posted on 2011-10-07
3
Medium Priority
?
212 Views
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 .
Thanks.
#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
                Else
                    txtRegion.Text = ""
                End If

Open in new window

0
Comment
Question by:FinghtingMiao
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 1000 total points
ID: 36935931
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.
0
 

Author Closing Comment

by:FinghtingMiao
ID: 36952198
That is right, I found it there! Thank you !
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36952277
Glad to help :-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

612 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