Click here to Skip to main content
16,004,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How do i display Db data in labels ? Pin
munklefish20-Sep-06 3:00
munklefish20-Sep-06 3:00 
QuestionHash Tables Pin
GeetMunjal19-Sep-06 23:43
GeetMunjal19-Sep-06 23:43 
AnswerRe: Hash Tables Pin
Sathesh Sakthivel19-Sep-06 23:47
Sathesh Sakthivel19-Sep-06 23:47 
AnswerRe: Hash Tables Pin
Britney S. Morales20-Sep-06 3:39
Britney S. Morales20-Sep-06 3:39 
QuestionFormatting data while storing into database [modified] Pin
Vsree19-Sep-06 23:17
Vsree19-Sep-06 23:17 
AnswerRe: Formatting data while storing into database Pin
minhpc_bk20-Sep-06 1:50
minhpc_bk20-Sep-06 1:50 
Questionimage handling Pin
Sebastian T Xavier19-Sep-06 22:46
Sebastian T Xavier19-Sep-06 22:46 
AnswerRe: image handling Pin
Vicky Roberts19-Sep-06 22:56
Vicky Roberts19-Sep-06 22:56 
You can create another apx page and in the page load of this new aspx you can write this.

byte[] image = null;
image =(byte[])objDV[0]["imgImage1"];// Taking it from dataview/dataset/dtable
Response.ContentType = objDV[0]["strImage1ContentType"].ToString();
Response.BinaryWrite(image);

Assume this new aspx page name is ImageLoad.aspx

In your page where you are taking an Image control, call the method from aspx
page.
<asp:image id="imgLogo" runat="server" imageurl="<%#GetLogoURL(DataBinder.Eval(Container.DataItem,"intId"))%>" alternatetext="Dynamic Image">

and in code behind you will have

protected string GetLogoURL(object objLogo)
{
return "ImgLoad.aspx"
}

Let me know if this worked for you.


"Walking on water and developing Software on a specification is easy, if
both are frozen..."

AnswerRe: image handling Pin
postmaster@programmingknowledge.com20-Sep-06 4:18
postmaster@programmingknowledge.com20-Sep-06 4:18 
GeneralRe: image handling Pin
Sebastian T Xavier20-Sep-06 19:19
Sebastian T Xavier20-Sep-06 19:19 
QuestionHow can I show popup message when session time out in ASP.NET 2.0 ? Pin
dataminers19-Sep-06 22:32
dataminers19-Sep-06 22:32 
AnswerRe: How can I show popup message when session time out in ASP.NET 2.0 ? Pin
minhpc_bk20-Sep-06 1:45
minhpc_bk20-Sep-06 1:45 
QuestionAccess control(s) inside ITemplate from code-behind Pin
Tee+19-Sep-06 21:57
Tee+19-Sep-06 21:57 
AnswerRe: Access control(s) inside ITemplate from code-behind Pin
minhpc_bk20-Sep-06 1:40
minhpc_bk20-Sep-06 1:40 
GeneralRe: Access control(s) inside ITemplate from code-behind [modified] Pin
Tee+20-Sep-06 4:11
Tee+20-Sep-06 4:11 
GeneralRe: Access control(s) inside ITemplate from code-behind Pin
minhpc_bk20-Sep-06 14:15
minhpc_bk20-Sep-06 14:15 
GeneralRe: Access control(s) inside ITemplate from code-behind Pin
Tee+21-Sep-06 1:33
Tee+21-Sep-06 1:33 
Questionaccessing client side source from server side Pin
TintinV3ck19-Sep-06 21:28
TintinV3ck19-Sep-06 21:28 
AnswerRe: accessing client side source from server side Pin
Vicky Roberts19-Sep-06 22:35
Vicky Roberts19-Sep-06 22:35 
GeneralRe: accessing client side source from server side Pin
TintinV3ck19-Sep-06 22:53
TintinV3ck19-Sep-06 22:53 
QuestionOperation must use an updateable query. Pin
kirthikirthi19-Sep-06 21:20
kirthikirthi19-Sep-06 21:20 
AnswerRe: Operation must use an updateable query. Pin
minhpc_bk20-Sep-06 1:36
minhpc_bk20-Sep-06 1:36 
GeneralRe: Operation must use an updateable query. Pin
kirthikirthi20-Sep-06 1:41
kirthikirthi20-Sep-06 1:41 
GeneralRe: Operation must use an updateable query. Pin
minhpc_bk20-Sep-06 2:11
minhpc_bk20-Sep-06 2:11 
AnswerRe: Operation must use an updateable query. Pin
Coding C#20-Sep-06 4:50
Coding C#20-Sep-06 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.