Click here to Skip to main content
15,895,667 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Automatic display of data when user logs in Pin
That's Aragon9-Feb-08 1:15
That's Aragon9-Feb-08 1:15 
GeneralRe: Automatic display of data when user logs in Pin
n_gchaitra10-Feb-08 17:19
n_gchaitra10-Feb-08 17:19 
GeneralRe: Automatic display of data when user logs in Pin
Gandalf_TheWhite9-Feb-08 2:05
professionalGandalf_TheWhite9-Feb-08 2:05 
GeneralRe: Automatic display of data when user logs in Pin
n_gchaitra10-Feb-08 17:28
n_gchaitra10-Feb-08 17:28 
Generalimage storing/retriving Pin
sirisha guttikonda9-Feb-08 0:25
sirisha guttikonda9-Feb-08 0:25 
GeneralRe: image storing/retriving Pin
That's Aragon9-Feb-08 0:38
That's Aragon9-Feb-08 0:38 
GeneralRe: image storing/retriving Pin
VanithaVasu9-Feb-08 0:46
VanithaVasu9-Feb-08 0:46 
GeneralRetrieve image from Sql Pin
VanithaVasu8-Feb-08 23:46
VanithaVasu8-Feb-08 23:46 
I am trying to display the Image which i have retrieved from Sql .
The problem is i am not able to convert the bytes to image in my webform.


This is my Code.

SqlCommand scmd = new SqlCommand
("select mImage from MyTable where Title='"+ TextBox1.Text + "'", sqlConn);
sqlConn.Open();
Byte[] storedImage = (Byte[])scmd.ExecuteScalar();

Using this i have retrieved the image But how can i display it in the Image control.

Can anybody help me to solve this using C#.

VanithaVasu

GeneralRe: Retrieve image from Sql Pin
Mark Churchill8-Feb-08 23:58
Mark Churchill8-Feb-08 23:58 
GeneralRe: Retrieve image from Sql Pin
VanithaVasu10-Feb-08 19:27
VanithaVasu10-Feb-08 19:27 
Questionhow to encrypt the database connection string in web.config file Pin
jagan1238-Feb-08 23:42
jagan1238-Feb-08 23:42 
AnswerRe: how to encrypt the database connection string in web.config file Pin
Sun Rays9-Feb-08 0:22
Sun Rays9-Feb-08 0:22 
GeneralRe: how to encrypt the database connection string in web.config file Pin
jagan1239-Feb-08 0:37
jagan1239-Feb-08 0:37 
GeneralRe: how to encrypt the database connection string in web.config file Pin
Sun Rays9-Feb-08 1:00
Sun Rays9-Feb-08 1:00 
GeneralRe: how to encrypt the database connection string in web.config file Pin
jagan1239-Feb-08 1:19
jagan1239-Feb-08 1:19 
GeneralProblem in the code Pin
sjs4u8-Feb-08 22:55
sjs4u8-Feb-08 22:55 
GeneralGrid View Selected Index Pin
.NET- India 8-Feb-08 22:35
.NET- India 8-Feb-08 22:35 
GeneralRe: Grid View Selected Index Pin
Gandalf_TheWhite8-Feb-08 23:38
professionalGandalf_TheWhite8-Feb-08 23:38 
GeneralRe: Grid View Selected Index Pin
amargujrathi20069-Feb-08 7:33
amargujrathi20069-Feb-08 7:33 
QuestionI have not a option for CreateTextFormatOptions of ExportOptions. [modified] Pin
Member 39900128-Feb-08 20:57
Member 39900128-Feb-08 20:57 
GeneralWrong forum Pin
pmarfleet8-Feb-08 21:53
pmarfleet8-Feb-08 21:53 
QuestionFolder Browser(Interesting one) Pin
rain raj8-Feb-08 20:53
rain raj8-Feb-08 20:53 
GeneralRe: Folder Browser(Interesting one) Pin
pmarfleet8-Feb-08 21:52
pmarfleet8-Feb-08 21:52 
GeneralRe: Folder Browser(Interesting one) Pin
rain raj8-Feb-08 22:22
rain raj8-Feb-08 22:22 
GeneralRe: Folder Browser(Interesting one) Pin
pmarfleet8-Feb-08 23:26
pmarfleet8-Feb-08 23: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.