protected void btnLeft_Click(GridViewRow row) { // get model from groups to user !!! //copy file to user //logFiles.ErrorLog(" left click - move to user list "); int fileid = get_modelid_row(row); // get_modelid line from groups! if (fileid < 0) { return; } string i = DropDownList2.SelectedValue; int groupid = Convert.ToInt32(i); string usr_dir = GetDirectory() + userDir + MODELS; int nfilen = groupManagement.get_file(fileid, groupid, usr_dir, username);// get file from groups!!! if (nfilen == 0) { errormessage.Text = "An error has occured when copying model from group models to user directory."; } userfilesBind(); }