using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Bloger_LogManage_LogManage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    //protected void GridView1_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
    //{
    //    int index = e.NewSelectedIndex;
    //    string s = ((Label)this.GridView1.Rows[index].Cells[0].FindControl("Label2")).Text;

    //    Response.Redirect("~/Bloger/LogManage/EditLog.aspx?log_id=" + s);
    //}
    protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e)
    {
        e.Command.Parameters["@bloger_name"].Value = this.User.Identity.Name;
    }
    protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
    protected void GridView1_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
    {
        int index = e.NewSelectedIndex;
        string s = ((Label)this.GridView1.Rows[index].Cells[0].FindControl("Label1")).Text;

        Response.Redirect("~/Bloger/LogManage/EditLog.aspx?log_id=" + s);
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {

    }
}
