0
我有一個存儲過程usp_getCashCommissionCustomer
這樣的:MVC2複雜類型的Visual Studio 2010的.NET Framework 4
Select
cw.Customercode, name, state as Province, City, Suburb,
Balance As HMCommission, MBalance as MTNCommission
from
customerwallet cw
inner join
customer cu on cw.customercode = cu.customercode
where
iscash = 1
and (balance + mbalance) > 0
order by
customercode
在點擊customercode
我應該打開創建視圖follwing表
CREATE TABLE [dbo].[CustomerLedger]
(
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[CustomerCode] [varchar](25) NULL,
[TransactionType] [varchar](1) NULL,
[Description] [varchar](30) NULL,
[TransactionDate] [datetime] NULL,
[Amount] [float] NULL,
[IsProcessed] [bit] NULL
) ON [PRIMARY]
的請幫忙我。
我新的ASP.NET MVC 2
我正在使用實體框架。我在grid上展示了商店過程的放置。我爲網格的輸出創建了複雜類型。當我點擊客戶代碼時,它應該打開創建customerledger模型的視圖。 – 2012-07-11 12:34:22
然後按照jquey popup的教程 – Tassadaque 2012-07-11 14:57:59