Click here to Skip to main content
16,005,697 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: customError in Web.Config file is not working Pin
sidbaruah25-Jun-07 1:47
sidbaruah25-Jun-07 1:47 
QuestionUse of server.htmlencode in class file Pin
Nagraj Naik21-Jun-07 18:58
Nagraj Naik21-Jun-07 18:58 
AnswerRe: Use of server.htmlencode in class file....I find out the solution. Pin
Nagraj Naik21-Jun-07 20:23
Nagraj Naik21-Jun-07 20:23 
Questionpage refreshment doubt Pin
saravanan0521-Jun-07 18:38
saravanan0521-Jun-07 18:38 
AnswerRe: page refreshment doubt Pin
sathesh pandian27-Jun-07 19:54
sathesh pandian27-Jun-07 19:54 
Questionwhen will session get start for HTML pages? Pin
PadmaPriya.S21-Jun-07 17:28
PadmaPriya.S21-Jun-07 17:28 
AnswerRe: when will session get start for HTML pages? Pin
Guffa21-Jun-07 17:57
Guffa21-Jun-07 17:57 
QuestionDisplay blob data [modified] Pin
ASPnoob21-Jun-07 16:38
ASPnoob21-Jun-07 16:38 
Hi, I have read an article by Kelum Ganegoda on reading blobs. In his article he showed how to display images that were stored in blobs using the ExecuteScalar() method of the SqlCommand class which returns an object. So we cast it and store in a byte array like this.

byte[] _buf = (byte[]) _cmd.ExecuteScalar();

Then, stream it back to the HTTP response. The problem is that his article shows how to display images not text files. I'd like to display text files in the same format as the original files prior to being sent to the database. How would I go about doing that? Thank you in advance for your help.



-- modified at 23:18 Thursday 21st June, 2007
AnswerRe: Display blob data Pin
Guffa21-Jun-07 18:18
Guffa21-Jun-07 18:18 
AnswerRe: Display blob data Pin
ASPnoob21-Jun-07 19:02
ASPnoob21-Jun-07 19:02 
QuestiondropAssigned.SelectedValue. Pin
isaii21-Jun-07 16:34
isaii21-Jun-07 16:34 
AnswerRe: dropAssigned.SelectedValue. Pin
RepliCrux21-Jun-07 17:31
RepliCrux21-Jun-07 17:31 
QuestionActivex Object Pin
dhatchu21-Jun-07 16:25
dhatchu21-Jun-07 16:25 
AnswerRe: Activex Object Pin
Christian Graus21-Jun-07 17:43
protectorChristian Graus21-Jun-07 17:43 
QuestionGridView Column Invisible Pin
seemamltn21-Jun-07 14:53
seemamltn21-Jun-07 14:53 
AnswerRe: GridView Column Invisible Pin
RepliCrux21-Jun-07 16:09
RepliCrux21-Jun-07 16:09 
QuestionDate Time..... Pin
moomoooomoo21-Jun-07 14:25
moomoooomoo21-Jun-07 14:25 
AnswerRe: Date Time..... Pin
Christian Graus21-Jun-07 17:45
protectorChristian Graus21-Jun-07 17:45 
AnswerRe: Date Time..... Pin
Guffa21-Jun-07 17:59
Guffa21-Jun-07 17:59 
Questiongetting fields values of DetailsView control Pin
Farhad Eft21-Jun-07 12:51
Farhad Eft21-Jun-07 12:51 
AnswerRe: getting fields values of DetailsView control Pin
Farhad Eft22-Jun-07 4:14
Farhad Eft22-Jun-07 4:14 
QuestionError: The virtual path '/includes/utils/StateDropDown.ascx' maps to another application, which is not allowed. [modified] Pin
Mark J. Miller21-Jun-07 11:26
Mark J. Miller21-Jun-07 11:26 
AnswerRe: Error: The virtual path '/includes/utils/StateDropDown.ascx' maps to another application, which is not allowed. Pin
Christian Graus21-Jun-07 12:58
protectorChristian Graus21-Jun-07 12:58 
QuestionGridView Pin
seemamltn21-Jun-07 11:01
seemamltn21-Jun-07 11:01 
AnswerRe: GridView Pin
sidbaruah25-Jun-07 2:07
sidbaruah25-Jun-07 2:07 

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.