public SqlDataReader Selectimg() { string s = "select photo from Amoozeshgah"; s = string.Format(s, this.name); da.Connect(); dsr = da.selectimage(s); return(dsr); da.disconnect(); }
public SqlDataReader Selectimg() { string s = "select std_img from std where stdno=N'{0}'"; s = string.Format(s, this.stdno); da.Connect(); dsr = da.selectimage(s); return(dsr); da.disconnect(); }
public SqlDataReader Selectimg() { string s = "select prof_img from teachers where teacherno={0}"; s = string.Format(s, this.teacherno); da.Connect(); dsr = da.selectimage(s); return(dsr); da.disconnect(); }