求高手详细的写出如何点击gridview上的编辑跳转到另一个页面的代码

2024-11-14 14:29:42
推荐回答(3个)
回答1:

有个RowEditing方法,双击进入编辑写跳转代码就好了

回答2:

在Gridview的RowCommand事件中胡拆穗族,双击编裤族枣辑,if (e.CommandName == "XXX(按钮名称)")
{

Response.Redirect(“XXXX.aspx");
}

回答3:

GridView gridview=new GridView();
gridview.onItemClickListener(new OnItemClickListener(){
public void onItemClick(AdapterView parent, View v, int position, long id)
{
Intent intent=new Intent(this,SimpleActivity.class);
startActivity(intent);
}

});