[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 825
  • Last Modified:

MS-SQL Image Data type

hi experts, how a code to save picture into MS-SQL Image datatype ? use
dataset.fieldbyname('test').asstring := 'something'
to save string datatype. what about save image into image data type of MS-SQL ?
0
Explorer060599
Asked:
Explorer060599
1 Solution
 
kretzschmarCommented:
try

TBlobField(dataset.fieldbyname('image')).loadfromfile('Filename');  //or loadfrom stream

meikl ;-)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now