2014年7月13日 星期日

[RESOLVED] master detail data entry


I want to create
input data for
order
and order
detail
,


Could you
give an example using asp.net (C#). 


in ASP.NET not MVC


order :

orderno  nvarchar(20)

orderdate datetime

customer nvarchar(20)

total decimal(18,2)



order_detail

id int (auto increament)

orderno nvarchar(20)

itemno nvarchar(20)

qty decimal(10,2)

price decimal(10,2)

total decimal(10,2)



item

itemno nvarchar (20)

itemname nvarchar(100)

price (10,2)



Hi,


I wrote this article some years ago, but it might still be valid.  I still do like jQuery.


http://www.thebestcsharpprogrammerintheworld.com/blogs/linq-to-nhibernate-jquery-jqgrid-subgrid-hql-and-icriteria.aspx


HTH, Benjamin



Refer full code
here
 and here


沒有留言:

張貼留言