Two insertion to the same table at once

Talk about any other operations you need to implement: additions, updates etc.

Moderator: alexandrleonenko

honjian5231
Junior
Junior
Posts: 17
Joined: Mar 23rd, '11, 11:25

Two insertion to the same table at once

Postby honjian5231 » Oct 25th, '12, 03:20

Hi , i just bought datagrid 7.x.x
And i have no problem execute the normal operation , but now i have a scenario is , my data are stored in multi-language format
which i have two record with different language in a same table

Code: Select all

id        language                name                 description
1             EN                  Promotion               .............
2             CN                      促销                   ................


I want to accept the input for both language at once
so my would to like have my add new page with two different set of input at once and insert with a language_id which is hidden field then into the same table...

Thanks in advance =)


gavind
Junior
Junior
Posts: 14
Joined: Nov 8th, '12, 22:41

Re: Two insertion to the same table at once

Postby gavind » Dec 22nd, '12, 16:14

1. Additional fields must be called delimiter_1, delimiter_2 etc...


Thanks. Any reason why we need to take note of this?
Mastery through mistakes. Image

administrator
Site Admin
Site Admin
Posts: 6004
Joined: Jan 7th, '09, 23:18
Contact:

Re: Two insertion to the same table at once

Postby administrator » Dec 23rd, '12, 08:41

No, this is simply a preserved keyword, if you want you may replace with any another words, but you have to change it in datagrid.class as well.


Return to “Additional operations implementation”