Ejemplo n.º 1
0
        protected void imgProject_Click(object sender, ImageClickEventArgs e)
        {
            ImageButton b = sender as ImageButton;

            string projectId = b.Attributes["projectId"];

            lblprojectID.Text = projectId;
            string projectName = b.Attributes["projectName"];

            lblProjectName.Text    = projectName;
            lblProjectName.Visible = true;
            List <Photo> listphoto = SqlTask.GetPhotosByProject_Photographer(projectId);

            lstPhoto.DataSource = listphoto;
            //deneme.Text = listphoto.FirstOrDefault().PID;
            lstPhoto.DataBind();
        }