code for inserting images into gridview colomns from
database

Answer Posted / ankit goel

It can be done in two ways.
*First we maintain a table in database which have a column
which would have image path on the server.
*Second way to write byte in database for that you have to
make byte[] object write in it first through making a class
by using Input stream class.
E.g

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between or and orelse?

551


How use Xml data in ASP.net?

563


What is jade template engine?

577


What is difference between cookies and cache?

521


Explain the asp.net session state modes.

621






How can you register a custom server control to a web page?

551


What is state management in asp.net with example?

465


What is the use of web.config and machine.config files?

630


Is asp.net is a programming language?

497


What is the difference between dynamic SGA and static SGA?

588


What is work flow gen? how can it will work with .Net?

2578


Is razor a programming language?

535


Explain global assembly cache.

579


Out of ASP or ASP.NET which one is stateless?

681


What are the server controls in asp.net?

460