gurusamy (in PM to me)
i tried that too..
Whether i have to set any property for data grid..
bcoz i didn't get any event for data grid like ItemsIndex..
Have you wired up the event handler ?, if you're not using the designer but handcoding you have to add the handler delegates in the Web Form Designer generated code region of the aspx.cs file (If you're using Framework 1.1) See near the bottom of this snippet in the InitializeComponent method.
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
private void InitializeComponent()
this.Load += new System.EventHandler(this.Page_Load);
this.DataGrid1.ItemCommand += new DataGridCommandEventHandler(DataGrid1_ItemCommand);