int rowIndex = ((GridViewRow)((Button)sender).NamingContainer).RowIndex;//获取gridview中的行号 string id = GridView1.Rows[rowIndex].Cells[0].Text;//获取所在行数第一行的文本…
先上一个能用的js代码: function login() { var uname=document.getElementById("username").value.trim(); var pwd=document.getElementById("password").value.trim(); mui.toast("0 "+uname+" "+pwd); mui.ajax( 'http://192.168.63.2:808…