将图像添加到表sql [英] add a image to table sql

查看:64
本文介绍了将图像添加到表sql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,你好。我有一个重要的猜测。

i有一个带有gridview和一个按钮的表单。

当我点击按钮从sql server插入一个记录到gridvew时。

i想在左侧插入或出现像redcross这样的图标,每次我添加新数据时都会在同一记录中添加另一个redcross等等。

注意:我在vs 2010中工作。 windowsform不是webform。

如何在Windows窗体中执行操作?

谢谢你的答案。

解决方案

你可以找到很多例子,使用 Google [ ^ ],但请参阅CP上的这篇文章:使用Microsoft .NET从SQL Server存储和检索图像 [ ^ ]


hello friends . i have a impotant guestion .
i have a form with a gridview and a button .
when i click button insert a record to gridvew from sql server.
i want to insert or appear a icon like redcross at its left side and everytime i add new data add another redcross to the same record and so on.
note:i am working in vs 2010 .windowsform not webform.
how can i do in windows form?
thank your answers.

解决方案

You can find many examples, using Google[^], but see this article on CP: Storing and Retrieving Images from SQL Server using Microsoft .NET[^]


这篇关于将图像添加到表sql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆