|
Hi all,
I want to display images in GridView using the Asp:Image control. But everywhere i could see only examples using the imagepath only. How can display the images stores in the Employees table in Northwind database ?
Thanks in Advance
Dana
|
|
|
|
|
check this out
http://msdn2.microsoft.com/en-us/library/aa479350.aspx
|
|
|
|
|
Thanks for the reply. That examples follows the methods of showing from URL only
|
|
|
|
|
|
Hi
Are you storing images in db or image only image name in db.
It is easy if you store only image name and type in db.
Thanks.
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Hi rahul,
The images are stored as Image DataType in SQL
|
|
|
|
|
I would also mention not to store images in the database as your database will become huge.
It would be better to store the file location in the database and grab that rather then the actual image.
|
|
|
|
|
|
I need to draft a technical spec for an ASP.NET project very quickly, and I would appreciate some input on what you, an ASP.NET developer, would use or like to see in the spec. I already have an informal spec as a set of PowerPoint slides, and quite frankly, this is more than enough for me to build the application, and I normally work very informally with something of an iterative approach with prototyping for small projects like this. I'm plain not used to drafting specs, and not that used to working in ASP.NET.
Yes, I'm actually asking a favour of my readers here, not to think for me, but just to help me thing in a suitable way to drop quickly get done with a formality and move on to delivering the first iteration.
|
|
|
|
|
When I worked for a big company, the spec would include a screenshot, a description of where the user had come from, what the main path of execution being described was, and what some edge cases ( what to do with bad input, etc ) looked like. They had a standard format they followed, so I quickly knew where to look for different things, and I imagine establishing a format would really help in writing it, too.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How to upload the project on the server..........
I have designed a website in ASP.NET and also published it and uploading published files and folders on the server But it's not working fine.......
Only the Default Page or First Page is working fine and other pages creating Runtime Error...............database problem.....
But if i upload my whole project with .aspx,.cs and all other files then it works fine..........
|
|
|
|
|
I think I am misunderstanding your problem but whats wrong with just uploading the whole project?
Or do you mean once you upload a whole project then update with one file it doesnt work?
|
|
|
|
|
Does your first page use the database ? I suspect not, and that your DB is not configured properly. Your question is meaningless. You know how to upload it, what you need to do is tell us your error, and then perhaps we can tell you how to fix it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
.NET- India wrote: But if i upload my whole project with .aspx,.cs and all other files then it works fine
Never upload your .cs files
Just insure to upload .aspx and .dll files (put the later in a bin folder)
upload web.config, Global.asax
upload your images (if any) incapsulated in their folders
Actually, upload everything except the code files
-If you updated your cs code, you will need to reload only the .dll files
-If you updated your design, you will need to reload only .aspx file
I think this will solve the problem
M. Gouda
foreach(Minute m in MyLife)
{
myExperience++;
}
|
|
|
|
|
Mohammed Gouda wrote: Never upload your .cs files
What if it's .NET 2.0 and it's not set up to compile a dll ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Christian Graus wrote: What if it's .NET 2.0 and it's not set up to compile a dll ?
So, what?
Does uploading .cs files solve it?
M. Gouda
foreach(Minute m in MyLife)
{
myExperience++;
}
|
|
|
|
|
If it's a .NET 2.0 app, then by default, you need to upload the cs files. That doesn't solve the OPs comments, but removing the CS files is NEVER going to solve his problem whatever version he is using.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi i have to know regarding outproc mode...in Session State.
When we go for outproc. i.e when we go for session state and when we go for sqlserver.
I want reasons for why we have to choose these two?
If Appliction Restart is the reason, it is a rare case, then why we have to go for outproc.
G. Satish
modified on Monday, March 17, 2008 4:52 AM
|
|
|
|
|
Satish - Developer wrote: Hi i have to know regarding outproc mode...in Session State.
Have you tried reading the MSDN documentation? Or buying an ASP.NET book?
You seem to have a habit of posting questions relating to basic information that is readily available in the documentation. If you want to be taken seriously as a developer, you have to be able to undertake basic research when you encounter a problem. Get a beginner's ASP.NET book if you are unfamiliar with the technology.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
I working with 1-AspDotNetStoreFront V 7.0.1.2
2-T-Hub 5.0655
3-QuickBook Pro 2008
I want to Update Product Inventory into my WebSite From T-Hub through Inventory Publish Manager. When I click to "Add To WebSite" link from this form. Then some process happen which displays at statusbar. But there is not any affect to website. While I am debugging, not getting debugg point at not even to my Application_BeginRequest into Global.asax. . .
What should I do here... Give me some idea...
|
|
|
|
|
manisha15apr wrote: I working with 1-AspDotNetStoreFront V 7.0.1.2
Storefront support would help than posting here.
|
|
|
|
|
Hi!!!
I have an ASP.Net project in Beta version i want to convert that into 2.0... Any help is appreciated..
|
|
|
|
|
Which beta do you have ? If you have the VS2008 beta, there's no automatic conversion process, but b/c VS2005 will open a website from a folder, you should just be able to point to the folder and then see what happens
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for ur reply...
i am using VS2005.. please guide me how to convert...
|
|
|
|
|
Thanks for clarifying the Studio version. But you still haven't highlighted what the 'BETA' qualifies on.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|