Click here to Skip to main content
15,888,277 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Javascript String Matching problem! Pin
N a v a n e e t h5-Nov-08 1:27
N a v a n e e t h5-Nov-08 1:27 
GeneralRe: Javascript String Matching problem! Pin
mr_muskurahat5-Nov-08 2:04
mr_muskurahat5-Nov-08 2:04 
QuestionDraggable Sorting in HTML Select Pin
Tiger4565-Nov-08 1:09
Tiger4565-Nov-08 1:09 
AnswerRe: Draggable Sorting in HTML Select Pin
whatUrunning.com5-Nov-08 1:36
whatUrunning.com5-Nov-08 1:36 
QuestionData type mismatch error in asp.net using ms access Pin
sanjay305-Nov-08 0:42
sanjay305-Nov-08 0:42 
Questionwhere is the problem of my code? Pin
strawberrysh5-Nov-08 0:41
strawberrysh5-Nov-08 0:41 
AnswerRe: where is the problem of my code? Pin
Sandeep Akhare5-Nov-08 19:23
Sandeep Akhare5-Nov-08 19:23 
Questionhow to retrive image from database Pin
raghvendrapanda5-Nov-08 0:30
raghvendrapanda5-Nov-08 0:30 
Hy,
I m tryng to retrive image from database. the code dosent giv ane run time error but the image is not displayed

Response.ContentType = "image/jpeg";
Stream strm = ShowEmpImage(8);
byte[] buffer = new byte[4096];
int byteSeq = strm.Read(buffer, 0, 4096);
strm.Read(buffer, 0, 4096);
Response.BinaryWrite(buffer);
}
public Stream ShowEmpImage(int a)
{
SqlConnection connection = new SqlConnection();
connection.ConnectionString = "Data Source=SERVER;Initial Catalog=image;Persist Security Info=True;User ID=sa;password="";
connection.Open();
string sql = "SELECT picture FROM image where id='" + a + "' ";
SqlCommand cmd = new SqlCommand(sql, connection);
object img = cmd.ExecuteScalar();
return new MemoryStream((byte[])img);
}
plz help
AnswerRe: how to retrive image from database Pin
eyeseetee5-Nov-08 1:24
eyeseetee5-Nov-08 1:24 
Questionsample project Pin
santhoshasokan5-Nov-08 0:20
santhoshasokan5-Nov-08 0:20 
GeneralRe: sample project PinPopular
cyber-drugs5-Nov-08 0:36
cyber-drugs5-Nov-08 0:36 
AnswerRe: sample project Pin
Ashfield5-Nov-08 1:53
Ashfield5-Nov-08 1:53 
Questionusing web user control in asp.net 2.0 Pin
vijaylumar5-Nov-08 0:06
vijaylumar5-Nov-08 0:06 
AnswerRe: using web user control in asp.net 2.0 Pin
Parwej Ahamad5-Nov-08 0:26
professionalParwej Ahamad5-Nov-08 0:26 
Questiondoes show update and cancel on a first click Pin
Mamphekgo Bahula5-Nov-08 0:01
Mamphekgo Bahula5-Nov-08 0:01 
QuestionProblem with order by in aspx page Pin
eyeseetee4-Nov-08 23:03
eyeseetee4-Nov-08 23:03 
AnswerRe: Problem with order by in aspx page Pin
Abhishek Sur4-Nov-08 23:09
professionalAbhishek Sur4-Nov-08 23:09 
GeneralRe: Problem with order by in aspx page Pin
eyeseetee4-Nov-08 23:11
eyeseetee4-Nov-08 23:11 
GeneralRe: Problem with order by in aspx page Pin
Abhishek Sur5-Nov-08 20:31
professionalAbhishek Sur5-Nov-08 20:31 
AnswerRe: Problem with order by in aspx page Pin
balaji.t5-Nov-08 0:36
balaji.t5-Nov-08 0:36 
QuestionHiding URL in IE 7.0 Pin
balaji.t4-Nov-08 23:02
balaji.t4-Nov-08 23:02 
AnswerRe: Hiding URL in IE 7.0 Pin
NeverHeardOfMe4-Nov-08 23:39
NeverHeardOfMe4-Nov-08 23:39 
GeneralRe: Hiding address bar and title bar in IE7.0 - browser security settings Pin
balaji.t5-Nov-08 0:32
balaji.t5-Nov-08 0:32 
GeneralRe: Hiding address bar and title bar in IE7.0 - browser security settings Pin
NeverHeardOfMe5-Nov-08 1:34
NeverHeardOfMe5-Nov-08 1:34 
GeneralRe: Hiding address bar and title bar in IE7.0 - browser security settings Pin
balaji.t5-Nov-08 17:10
balaji.t5-Nov-08 17:10 

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.