c# - Insert Multiple Records in ASP.NET DynamicData Applicatoin -
i using asp.net dynamicdata v4.5 allow admin insert/update records in database.
my requirement is, -- allow admin insert more 1 record @ time. default, if admin wants insert 10 records need insert 1 one. -- tried updating default_insert.ascx page display 10 rows. displays 10 rows, saving 1 record.
how can acheive requirement
thanks in advance
you can use stored procedure. in pass arrays of values. , inside stored procedure can insert them dsatabase 1 one. when admin insert 10 records, has pass 10 records in stored procedure. hit stored procedure once , records updated in database.