Click here to Skip to main content
15,890,336 members
Home / Discussions / Database
   

Database

 
QuestionVista ODBC Questions Pin
Richard Andrew x6430-Jan-09 17:06
professionalRichard Andrew x6430-Jan-09 17:06 
AnswerRe: Vista ODBC Questions Pin
Aman Bhullar31-Jan-09 5:34
Aman Bhullar31-Jan-09 5:34 
QuestionAudit Log In and Audit logout problems in sql server 2005 after XML import to sql server 2005 Pin
Pankaj Garg30-Jan-09 2:21
Pankaj Garg30-Jan-09 2:21 
AnswerRe: Audit Log In and Audit logout problems in sql server 2005 after XML import to sql server 2005 Pin
Wendelius30-Jan-09 3:08
mentorWendelius30-Jan-09 3:08 
Questionsaving/recalling image to/from sql server 2005 using asp.net Pin
roachae29-Jan-09 10:38
roachae29-Jan-09 10:38 
AnswerRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Wendelius29-Jan-09 10:51
mentorWendelius29-Jan-09 10:51 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
roachae29-Jan-09 12:21
roachae29-Jan-09 12:21 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Wendelius29-Jan-09 12:30
mentorWendelius29-Jan-09 12:30 
I'm not very familiar with web controls, but I take it you set the imageurl to point to a file? If yes, then you could just read that file using File.ReadAllBytes.

roachae wrote:
my database table already has a row entry, so storing the images are going to be an update into that row, rather than an insert


If you mean the example in the article which inserted a record, you would simply use an UPDATE statement instead of an INSERT statement. Something like:
UPDATE SomeTable
SET ImageColumn = @Image
WHERE KeyColumn = @Key


The need to optimize rises from a bad design.My articles[^]

GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
roachae30-Jan-09 6:19
roachae30-Jan-09 6:19 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Wendelius30-Jan-09 7:40
mentorWendelius30-Jan-09 7:40 
AnswerRe: saving/recalling image to/from sql server 2005 using asp.net Pin
Giorgi Dalakishvili29-Jan-09 18:51
mentorGiorgi Dalakishvili29-Jan-09 18:51 
GeneralRe: saving/recalling image to/from sql server 2005 using asp.net Pin
roachae30-Jan-09 6:23
roachae30-Jan-09 6:23 
QuestionHow would you store the ID of a product? (a little bit long question) Pin
Joan M29-Jan-09 8:13
professionalJoan M29-Jan-09 8:13 
AnswerRe: How would you store the ID of a product? (a little bit long question) Pin
Wendelius29-Jan-09 8:56
mentorWendelius29-Jan-09 8:56 
GeneralRe: How would you store the ID of a product? (a little bit long question) Pin
Joan M29-Jan-09 21:26
professionalJoan M29-Jan-09 21:26 
GeneralRe: How would you store the ID of a product? (a little bit long question) Pin
Wendelius30-Jan-09 8:31
mentorWendelius30-Jan-09 8:31 
AnswerRe: How would you store the ID of a product? (a little bit long question) Pin
leckey29-Jan-09 9:31
leckey29-Jan-09 9:31 
QuestionAccessing SQL 2005 table through C# Pin
Deepali Khalkar29-Jan-09 2:32
Deepali Khalkar29-Jan-09 2:32 
AnswerRe: Accessing SQL 2005 table through C# Pin
Wendelius29-Jan-09 3:41
mentorWendelius29-Jan-09 3:41 
Questionhow can I get maximum values from set of alphanemeric field [modified] Pin
snehasish29-Jan-09 1:34
snehasish29-Jan-09 1:34 
AnswerRe: how can I get maximum values from set of alphanemeric field Pin
Wendelius29-Jan-09 3:34
mentorWendelius29-Jan-09 3:34 
QuestionTable which will become blank after a certain period. Pin
RajpootRohan29-Jan-09 0:02
professionalRajpootRohan29-Jan-09 0:02 
AnswerRe: Table which will become blank after a certain period. Pin
J4amieC29-Jan-09 0:10
J4amieC29-Jan-09 0:10 
GeneralRe: Table which will become blank after a certain period. Pin
RajpootRohan29-Jan-09 0:28
professionalRajpootRohan29-Jan-09 0:28 
GeneralRe: Table which will become blank after a certain period. Pin
Senthil_M29-Jan-09 19:14
Senthil_M29-Jan-09 19:14 

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.