在数据库映像中上载和保存时出现问题? [英] problem in uploading and saving in database image ?

查看:87
本文介绍了在数据库映像中上载和保存时出现问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

m在上载和保存图像时遇到问题,错误如下:
CS0542: ''Profile'': member names cannot be the same as their enclosing type....

我已经根据此链接进行了编码:

file:///D:/fileupload-control-save-images-database.html


帮助我,如何解决此问题....

m encountring a problem while uploading and saving a image , ERROR is following :
CS0542: ''Profile'': member names cannot be the same as their enclosing type....

i have done coding according to this link :

file:///D:/fileupload-control-save-images-database.html


help me , how to resolve this problem ....

推荐答案

http://msdn.microsoft.com/en-us/library/hdhfk2xk(v=vs.80).aspx[^] is the link to your error message. If you were to bother with searching, it explains it all. Which is good, given how impossible it is to correct code you didn''t bother to post.

This has nothign to do with saving images. It has to do with your member name being ''Profile'', which is also the name of the enclosing type. Read the webpage for an explanation, and in future, if you want us to fix your code, you need to post it.


这篇关于在数据库映像中上载和保存时出现问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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