Home > Net >  The core asp.net how to make a selection and then deleted.
The core asp.net how to make a selection and then deleted.

Time:05-09

Front end of the selection according to the Internet I use JS to future generations, but how to determine which item you future generations after the end, the front-end how to transfer the value of the checkbox to the back end, I just learning c #... Thank you,

CodePudding user response:

Suggest you read one or two source of the project, follow suit, with learning,

CodePudding user response:

It is no good to answer this question, you don't care about the back-end you chose which item, it only CARES about what are you sending the front-end data to him, as to how to transfer, there are so many ways,

CodePudding user response:


Monitor selection button, the loop gain elements (checkbox) values aside, and then spread to the background to json and describes about, that's how I do,

CodePudding user response:

For everyone to have a look at my own source,

CodePudding user response:

Why was this check value under the action of int id,

CodePudding user response:

First asp - the action is not used in the input yes, take on the form, then your description is to pass multiple values, the parameters should not use an int type, directly take the form of value

CodePudding user response:

HTML based form knowledge



You received is actually is a1=1, 2,

Don't play this for a long time, wood test, could theoretically use list user

CodePudding user response:

The core used, do not know to have integrated method
Is in no use ajax request parameters, the support, if you research techniques when I didn't say, implementation needs to adopt, can optimize again
  • Related