Click here to Skip to main content
15,920,602 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralSite Map Path Control in asp.net Pin
Satish - Developer1-Jan-08 19:14
Satish - Developer1-Jan-08 19:14 
GeneralRe: Site Map Path Control in asp.net Pin
N a v a n e e t h1-Jan-08 19:58
N a v a n e e t h1-Jan-08 19:58 
GeneralByte Conversion Pin
SreejithAchutan1-Jan-08 18:35
SreejithAchutan1-Jan-08 18:35 
AnswerRe: Byte Conversion Pin
Sonia Gupta1-Jan-08 18:44
Sonia Gupta1-Jan-08 18:44 
GeneralRe: Byte Conversion Pin
SreejithAchutan1-Jan-08 19:07
SreejithAchutan1-Jan-08 19:07 
GeneralRe: Byte Conversion Pin
Sonia Gupta1-Jan-08 21:14
Sonia Gupta1-Jan-08 21:14 
GeneralRe: Byte Conversion Pin
SreejithAchutan1-Jan-08 21:23
SreejithAchutan1-Jan-08 21:23 
GeneralRe: Byte Conversion Pin
SreejithAchutan1-Jan-08 21:34
SreejithAchutan1-Jan-08 21:34 
byte[] im = (byte[])insunit.GetLogo(id);
MemoryStream ms = new MemoryStream();
ms.Write(im, 0, im.Length);
Bitmap bm = new Bitmap(im);
bm.Save(Response.OutputStream, ImageFormat.Jpeg);
//Img_Logo.ImageUrl=;


public byte[] GetLogo(string Id)
{
byte[] s;
string sqlstatement = "SELECT UnitLogoPath FROM Units WHERE UnitId='" + Id + "'";
s = (byte[])dbtObj.GetColumnValue(sqlstatement, "UnitLogoPath");
return s;
}

This is the code given when binding a grid.That means whn selecting a row the details of the row will display.What cahnge i want to gave to display the image in the Img_Loge.ImageUrl.
GeneralRe: Byte Conversion Pin
Sonia Gupta1-Jan-08 22:05
Sonia Gupta1-Jan-08 22:05 
GeneralRe: Byte Conversion Pin
SreejithAchutan1-Jan-08 22:47
SreejithAchutan1-Jan-08 22:47 
GeneralRe: Byte Conversion Pin
Sonia Gupta1-Jan-08 23:05
Sonia Gupta1-Jan-08 23:05 
GeneralRe: Byte Conversion Pin
Christian Graus3-Jan-08 10:17
protectorChristian Graus3-Jan-08 10:17 
GeneralRe: Byte Conversion Pin
Christian Graus1-Jan-08 19:06
protectorChristian Graus1-Jan-08 19:06 
GeneralRe: Byte Conversion Pin
SreejithAchutan1-Jan-08 19:19
SreejithAchutan1-Jan-08 19:19 
Generalproblem iTextSharp pdf creator Pin
Ravi_211-Jan-08 18:11
Ravi_211-Jan-08 18:11 
QuestionHow to Enable and Disable the EditComand colmun Pin
Vijayitsb1-Jan-08 17:43
Vijayitsb1-Jan-08 17:43 
GeneralTwo Different Login Page Pin
mehran.asg1-Jan-08 5:13
mehran.asg1-Jan-08 5:13 
GeneralRe: Two Different Login Page Pin
Christian Graus1-Jan-08 15:49
protectorChristian Graus1-Jan-08 15:49 
QuestionPreferred way to delete Pin
David Kalkwarf1-Jan-08 4:26
David Kalkwarf1-Jan-08 4:26 
GeneralRe: Preferred way to delete Pin
Michael Sync1-Jan-08 15:24
Michael Sync1-Jan-08 15:24 
QuestionCrystal Report runtime designer Pin
Tenk1-Jan-08 3:13
Tenk1-Jan-08 3:13 
Questionproblem regarding the white spaces and trimming in the regular expression using the replace function [modified] Pin
Sonia Gupta1-Jan-08 0:01
Sonia Gupta1-Jan-08 0:01 
GeneralRe: problem regarding the white spaces and trimming in the regular expression using the replace function Pin
UsmanMunier1-Jan-08 0:52
UsmanMunier1-Jan-08 0:52 
QuestionRe: problem regarding the white spaces and trimming in the regular expression using the replace function [modified] Pin
Sonia Gupta1-Jan-08 1:55
Sonia Gupta1-Jan-08 1:55 
AnswerRe: problem regarding the white spaces and trimming in the regular expression using the replace function Pin
UsmanMunier1-Jan-08 3:00
UsmanMunier1-Jan-08 3:00 

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.