OK. I woul give you another solution instead of OnItemCommand use OnClick event of LinkButton
And there you can access the CommandArgument as follows
protected void Lnk_click(object sender, EventArgs e)
{
LinkButton lnk = (sender as LinkButton);
string c = lnk.CommandArgument;
}