public void GetReturnedMaterialInfo(Guid rmID) { ReturnedMaterialBLL rm = new ReturnedMaterialBLL(); DataRow r = rm.GetReturnedMaterial(rmID); ViewState.Add("ItemID", new Guid(r["ItemID"].ToString())); txtItem.Text = r["Item"].ToString(); }