Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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();
        }