我目前正在考虑一种布局,我可以利用onclick中razor值的值,但我不认为我做得对。 ... @foreach (var i in Model) { <button onclick = @{id = i.id} ...
確定! 回上一頁