0

I am using asp.net dynamic data site. I have enabled scaffolding for all tables. It also displays foreign key. I want to display a data column instead of foreign key from the table.

Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ItemInProcess")

Partial Public Class ItemInProcess
    Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged

Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)

Private _ItemInProcessID As Long

Private _ItemProcessDate As System.Nullable(Of Date)

Private _ItemProcessQuantity As System.Nullable(Of Integer)

Private _OutletID As System.Nullable(Of Long) '

This table ItemsInProcess contains _OutletID from Outlet table, I want to show OutletName column from Outlet table.

Davide Piras
  • 43,984
  • 10
  • 98
  • 147
Waqar Janjua
  • 6,113
  • 2
  • 26
  • 36
  • difficult to post. It is too large. I just create a new dynamic data stie. Add a sql to dbml class of a data base and add its contect in the global.asax. It's working fine. But i want to show data column from the table instead of foreing key. I will try to post some code – Waqar Janjua Oct 25 '11 at 16:40
  • see the code, it is autogenrated. – Waqar Janjua Oct 25 '11 at 16:44

0 Answers0