From: Navneet B. <nbh...@he...> - 2003-10-04 01:39:52
|
Hi, I have a field where I want to store Image. This image can be of any size between 4KB to 100 KB. I want to store this image into the firebird database, I read through the documentation and was very confused regarding the segment and reading and writing one segment at a time. I have a stream in .NET which has the image. I am confused about the following things. 1. What segment size should i define. 2. How do i read the data using .NET provider (with supose I define the segment size to 10KB) 3. How do I write the data to the database with .NET provider with insert command. 4. How do I write a procedure to insert the image to the database. 5. How do I write the data to the database with .NET provider with procedure. Can anyone please help me with this. It would be really great if you can provide example code. Thanks and Regards Navneet Bhartia |