Click here to Skip to main content
15,900,907 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: NotifyIcon's Events do not work in windows service Pin
Brij6-Apr-10 20:28
mentorBrij6-Apr-10 20:28 
QuestionAjax Tab Caontainer is not visible Pin
Masood Kochi,SSF6-Apr-10 20:10
Masood Kochi,SSF6-Apr-10 20:10 
QuestionPrinting MSChart in asp dot net Pin
Tufail Ahmad6-Apr-10 19:29
Tufail Ahmad6-Apr-10 19:29 
AnswerRe: Printing MSChart in asp dot net Pin
sashidhar6-Apr-10 20:43
sashidhar6-Apr-10 20:43 
QuestionPrint in Landscape format Pin
.NET- India 6-Apr-10 19:27
.NET- India 6-Apr-10 19:27 
AnswerRe: Print in Landscape format Pin
sashidhar6-Apr-10 20:49
sashidhar6-Apr-10 20:49 
Questionhow to retrieve image from database into a adrotator Pin
ships_agr6-Apr-10 18:25
ships_agr6-Apr-10 18:25 
AnswerRe: how to retrieve image from database into a adrotator Pin
sashidhar6-Apr-10 21:00
sashidhar6-Apr-10 21:00 
Here is the sample code to show in page from database which i used earlier..!
byte[] arrContent = null;
       DataTable dt = new DataTable();
       DataRow dr = default(DataRow);
       int id = Convert.ToInt32(Request.QueryString["id"]);
       //string username=Page.User.Identity.Name;
       //Getting the Image
       dt = PlayerInfo.ImagSelect(username);
       dr = dt.Rows[0];
       //storing it in array
       arrContent = (byte[])dr["photo"];
       int length = arrContent.Length;
       Response.ContentType = "image/JPEG";
       if (length!=0)
       Response.OutputStream.Write(arrContent, 0,length);
       Response.End();



You can check this link to sample Image Control..!

ships_agr wrote:
i connected the adrotator to sqldatasource through a configure datasource wizard and when i tested the query there in wizard it worked f9...but on running the application no image is displayed in adrotator


It Should be converted to binary format .You can visible the image thr wizard but not in page..!

LatestArticle :Log4Net

Why Do Some People Forget To Mark as Answer .If It Helps.

QuestionStoring and Restoring viestate of page Pin
Shrikant Kale6-Apr-10 6:02
Shrikant Kale6-Apr-10 6:02 
AnswerRe: Storing and Restoring viestate of page Pin
Not Active6-Apr-10 6:20
mentorNot Active6-Apr-10 6:20 
GeneralRe: Storing and Restoring viestate of page Pin
Shrikant Kale6-Apr-10 18:25
Shrikant Kale6-Apr-10 18:25 
GeneralRe: Storing and Restoring viestate of page Pin
Not Active7-Apr-10 1:57
mentorNot Active7-Apr-10 1:57 
GeneralRe: Storing and Restoring viestate of page Pin
Shrikant Kale8-Apr-10 19:26
Shrikant Kale8-Apr-10 19:26 
AnswerRe: Storing and Restoring viestate of page Pin
Arindam Tewary6-Apr-10 19:10
professionalArindam Tewary6-Apr-10 19:10 
QuestionReport with mulpitle Charts Pin
icanmakeiteasy6-Apr-10 5:14
icanmakeiteasy6-Apr-10 5:14 
AnswerRe: Report with mulpitle Charts Pin
T M Gray6-Apr-10 10:26
T M Gray6-Apr-10 10:26 
AnswerRe: Report with mulpitle Charts Pin
icanmakeiteasy13-Apr-10 19:33
icanmakeiteasy13-Apr-10 19:33 
GeneralRe: Report with mulpitle Charts Pin
kiranu eepuri13-Apr-10 20:43
kiranu eepuri13-Apr-10 20:43 
GeneralRe: Report with mulpitle Charts Pin
icanmakeiteasy13-Apr-10 20:56
icanmakeiteasy13-Apr-10 20:56 
GeneralRe: Report with mulpitle Charts Pin
icanmakeiteasy13-Apr-10 20:57
icanmakeiteasy13-Apr-10 20:57 
GeneralRe: Report with mulpitle Charts Pin
icanmakeiteasy21-Jul-10 1:40
icanmakeiteasy21-Jul-10 1:40 
Questionajax popup extender black background around the window Pin
laziale6-Apr-10 5:08
laziale6-Apr-10 5:08 
AnswerRe: ajax popup extender black background around the window Pin
T M Gray6-Apr-10 10:24
T M Gray6-Apr-10 10:24 
GeneralRe: ajax popup extender black background around the window Pin
Dipal Learner21-Dec-10 3:11
Dipal Learner21-Dec-10 3:11 
AnswerRe: ajax popup extender black background around the window Pin
Tyarla7-Apr-10 0:26
Tyarla7-Apr-10 0:26 

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.