Question
How to store and retrieve images in sql server database through vb.net?

Answers

To store image in database 1st u need to make table like this
CREATE TABLE PicImage
(
Picid int,
Pic Image
)
Now in vb.net coding u have to write code like this
Dim ms As New MemoryStream
pic_photo.Image.Save(ms, pic_photo.Image.RawFormat)
arrImage = ms.GetBuffer
ms.Flush()
Now pass arrImage in ur insert query.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Cahngez Khan came to India during the reign of:
  • Q A _______ contains specific rules and words that express the logical steps of an algorithm?
  • Q define Networking
  • Q in c++, what is a constructor, destructor etc.
  • Q What is a will?
  • Q Describe a human skeleton?
  • Q What is a JDBC Driver
  • Q What is difference between ServletConfig and ServletContext?
  • Q What you have learned ever since you were born?
  • Q Which Java collection class can be used to maintain the entries in the order in which they were last accessed?
  • Q If we don’t define a main method and execute a class do we get any error?