Marshal Antony,
Did you think of this?(it doesn`t help me

):
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
localhost.RasporedService s= new localhost.RasporedService();
dsDepartmani=s.WebPopuni("Osobe");
DataGrid1.DataSource=dsDepartmani;
DataGrid1.DataMember="Osobe";
if(!IsPostBack)
{DataGrid1.DataBind();
DataGrid1.PageIndexChanged += new
DataGridPageChangedEventHandler(this.DataGrid1_Change);
}
}
private void DataGrid1_UpdateCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
localhost.RasporedService s= new localhost.RasporedService();
string ime, prez, tit;
int Departman;
string key = DataGrid1.DataKeys[e.Item.ItemIndex].ToString();
TextBox tb;
tb=(TextBox)(e.Item.Cells[3].Controls[1]);
ime = tb.Text;
tb=(TextBox)(e.Item.Cells[4].Controls[1]);
prez=tb.Text;
DropDownList ddl;
ddl=(DropDownList)(e.Item.Cells[5].Controls[1]);
tit=ddl.SelectedItem.Text;
ddl=(DropDownList)(e.Item.Cells[7].Controls[1]);
Departman=Convert.ToInt32(ddl.SelectedItem.Value);
DsDepartmani.OsobeRow rd;
rd=dsDepartmani.Osobe.FindByID_osobe(int.Parse(key));
if (rd!=null)
{
rd.Ime=ime;
rd.Prezime=prez;
rd.Titula=tit;
rd.ID_departmana=Convert.ToInt32(Departman);
s.WebSnimi(dsDepartmani);
dsDepartmani.AcceptChanges();
}
DataGrid1.EditItemIndex = -1;
DataGrid1.DataBind();
}