Click here to Skip to main content
15,903,175 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionImage gallery Pin
dimo_omid8-Aug-06 19:46
dimo_omid8-Aug-06 19:46 
AnswerRe: Image gallery Pin
_AK_8-Aug-06 23:06
_AK_8-Aug-06 23:06 
AnswerRe: Image gallery Pin
enjoycrack9-Aug-06 17:09
enjoycrack9-Aug-06 17:09 
Questionwhile in edit mode, how to get values of dropdownlist from database ? Pin
prakash_2108-Aug-06 19:00
prakash_2108-Aug-06 19:00 
AnswerRe: while in edit mode, how to get values of dropdownlist from database ? Pin
_AK_8-Aug-06 19:03
_AK_8-Aug-06 19:03 
GeneralRe: while in edit mode, how to get values of dropdownlist from database ? Pin
prakash_2109-Aug-06 18:56
prakash_2109-Aug-06 18:56 
GeneralRe: while in edit mode, how to get values of dropdownlist from database ? Pin
_AK_9-Aug-06 19:52
_AK_9-Aug-06 19:52 
QuestionReading Image from SQL Server and Display it Asp.Net Datagrid Pin
nabeelkhan8-Aug-06 18:53
nabeelkhan8-Aug-06 18:53 
HI,
i have r problem ,i want to pull the image from the sqlserver2000 database and display it in Asp.net datagrid.
i try it but the image is not displayed in the grid.
kindly help me in this above regard.
my code is

Dim connstring As String = ConfigurationSettings.AppSettings.Item("DBSettingsServer")
Dim con As SqlConnection
Try
con = New SqlConnection(connstring)
con.Open()
Dim adp As New SqlDataAdapter("Select * from tblnews where NewsID =" & Request.QueryString("id"), con)
'Dim cmd As New SqlCommand
'cmd.Connection = con
Dim dst As New DataSet
adp.Fill(dst, "Table")
Dim row As DataRow
row = dst.Tables("Table").Rows(0)
Dim mydata() As Byte
mydata = row("NewsImg")
Response.Buffer = True
Response.BinaryWrite(mydata)
dst = Nothing
mydata = Nothing
row = Nothing


kindly send me some clue or code snnipet that help me
bst regards
AnswerRe: Reading Image from SQL Server and Display it Asp.Net Datagrid Pin
minhpc_bk9-Aug-06 0:36
minhpc_bk9-Aug-06 0:36 
QuestionHow to pass data from one page to another page Pin
ypsyong8-Aug-06 16:13
ypsyong8-Aug-06 16:13 
AnswerRe: How to pass data from one page to another page Pin
thomas_joyee8-Aug-06 17:32
thomas_joyee8-Aug-06 17:32 
GeneralRe: How to pass data from one page to another page Pin
ypsyong8-Aug-06 18:13
ypsyong8-Aug-06 18:13 
GeneralRe: How to pass data from one page to another page Pin
_AK_8-Aug-06 18:17
_AK_8-Aug-06 18:17 
GeneralRe: How to pass data from one page to another page Pin
ypsyong8-Aug-06 19:37
ypsyong8-Aug-06 19:37 
GeneralRe: How to pass data from one page to another page Pin
_AK_8-Aug-06 20:24
_AK_8-Aug-06 20:24 
GeneralRe: How to pass data from one page to another page Pin
ypsyong8-Aug-06 21:10
ypsyong8-Aug-06 21:10 
GeneralRe: How to pass data from one page to another page Pin
_AK_8-Aug-06 21:17
_AK_8-Aug-06 21:17 
AnswerRe: How to pass data from one page to another page Pin
Guffa8-Aug-06 18:51
Guffa8-Aug-06 18:51 
QuestionUsing DateTime when web server set to GMT Pin
Mark J. Miller8-Aug-06 13:40
Mark J. Miller8-Aug-06 13:40 
AnswerRe: Using DateTime when web server set to GMT Pin
eggsovereasy9-Aug-06 4:40
eggsovereasy9-Aug-06 4:40 
GeneralRe: Using DateTime when web server set to GMT Pin
Mark J. Miller9-Aug-06 4:45
Mark J. Miller9-Aug-06 4:45 
GeneralRe: Using DateTime when web server set to GMT Pin
Mark J. Miller9-Aug-06 12:42
Mark J. Miller9-Aug-06 12:42 
GeneralRe: Using DateTime when web server set to GMT Pin
eggsovereasy10-Aug-06 3:26
eggsovereasy10-Aug-06 3:26 
QuestionXML Error Pin
kirthikirthi8-Aug-06 11:41
kirthikirthi8-Aug-06 11:41 
AnswerRe: XML Error Pin
Patricker8-Aug-06 12:16
Patricker8-Aug-06 12:16 

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.