我有一个usp_getCashCommissionCustomer
这样的存储过程:
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
我应该打开以下表格的创建视图
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 的新手