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 are the different validators in asp.net?

562


What are the ways to sending the data in ASP.NET page?

565


Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

1719


what are the security certificates used in webservices?

1501


Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc

531






What are the server controls in asp.net?

460


How many types of triggers are there in update panel?

575


How many types cache in asp net?

531


where can i gather the materials for MCP certification

4484


Define repository pattern in asp.net mvc? : asp.net mvc

502


Explain how to prepare culture-specific formatting in .net.

536


what are the ihttphandler and ihttphandlerfactory interfaces ?

514


Explain the main differences between asp and asp.net?

517


What is state management technique?

543


How many types of session state management options available in asp.net?

540