i 有一个javascript Object,obj
,通过一美元折中转至mvc行动。 同样:
var obj = {
Items: [{ Text: "", Value: { Property1: "", Property2: "" },
{ Text: "", Value: { Property1: "", Property2: "" }]
};
$.post( MyAction , obj, function() {});
签署行动就是这样:
public ActionResult MyAction(FormCollection collection)
{
}
i 需要能够从<>FormCollection上打造一个物体,然而,在钥匙的形式上有一米:
"Items[0][Text]"
"Items[0][Value][Property1]"
"Items[0][Value][Property2]"
"Items[1][Text]"
"Items[1][Value][Property1]"
"Items[1][Value][Property2]"
i m 想知道,在