Click here to Skip to main content
15,897,360 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Create Images from Web Page Pin
oskardiazdeleon1-Mar-07 11:41
oskardiazdeleon1-Mar-07 11:41 
QuestionHow to clear GridViewSortEventArgs.SortExpression? Pin
darren241-Mar-07 4:53
darren241-Mar-07 4:53 
AnswerRe: How to clear GridViewSortEventArgs.SortExpression? Pin
kubben1-Mar-07 5:55
kubben1-Mar-07 5:55 
QuestionDynamically creating multiple imagebutton control and getting correspoindind event to fire.. Pin
krishna_mag1-Mar-07 4:33
krishna_mag1-Mar-07 4:33 
AnswerRe: Dynamically creating multiple imagebutton control and getting correspoindind event to fire.. Pin
thomas_joyee1-Mar-07 4:52
thomas_joyee1-Mar-07 4:52 
QuestionHelp on simple problem with Container.DataItem Pin
Sean Gorman1-Mar-07 4:31
Sean Gorman1-Mar-07 4:31 
AnswerRe: Help on simple problem with Container.DataItem Pin
thomas_joyee1-Mar-07 5:02
thomas_joyee1-Mar-07 5:02 
GeneralRe: Help on simple problem with Container.DataItem Pin
Sean Gorman1-Mar-07 5:17
Sean Gorman1-Mar-07 5:17 
Thank you for the answer...

Take it as read that I am a newbie - this code does not work and it is probably because I am doing something wrong:

Dim dbread As OleDbDataReader = dbcomd.ExecuteReader()
Sites.DataSource = dbread
Sites.DataBind()
strNewUrl = check_Review(dbread.GetValue("Review"))

dbread.Close()
dbconn.Close()
End Using
End Sub

Private Function check_Review(ByVal review)
Return ("<%<a class='grayUrl' href='http://<%#DataBinder.Eval(Container.DataItem, 'URL')%>' title='<%#DataBinder.Eval(Container.DataItem, 'SiteName')%>'><%#DataBinder.Eval(Container.DataItem, 'SiteName')%></a>%>")
End Function
End Class

Also - what is the correct method for assigning a new value to the data column as I prepare to write the data to the page? Or am I going about this all wrong?
GeneralRe: Help on simple problem with Container.DataItem Pin
thomas_joyee1-Mar-07 5:42
thomas_joyee1-Mar-07 5:42 
QuestionGridViewAdapter + AJAX Pin
stolin1-Mar-07 4:29
stolin1-Mar-07 4:29 
QuestionPrevent web server reply. Pin
RobertGMiller1-Mar-07 3:55
RobertGMiller1-Mar-07 3:55 
AnswerRe: Prevent web server reply. Pin
Guffa1-Mar-07 5:04
Guffa1-Mar-07 5:04 
Questionhai Pin
Ishwarya M1-Mar-07 3:47
Ishwarya M1-Mar-07 3:47 
AnswerRe: hai Pin
thomas_joyee1-Mar-07 5:09
thomas_joyee1-Mar-07 5:09 
AnswerRe: hai Pin
Vasudevan Deepak Kumar4-Mar-07 2:18
Vasudevan Deepak Kumar4-Mar-07 2:18 
QuestionHow to avoid refresh when postback to ASPX Pin
RobertGMiller1-Mar-07 3:47
RobertGMiller1-Mar-07 3:47 
AnswerRe: How to avoid refresh when postback to ASPX Pin
Guffa1-Mar-07 5:06
Guffa1-Mar-07 5:06 
QuestionConfiguring Login using Visual Web Developer 2005 Express Pin
Giretharan1-Mar-07 3:37
Giretharan1-Mar-07 3:37 
AnswerRe: Configuring Login using Visual Web Developer 2005 Express Pin
badgrs1-Mar-07 5:17
badgrs1-Mar-07 5:17 
QuestionConstructor in a web service Pin
goldoche1-Mar-07 3:25
goldoche1-Mar-07 3:25 
AnswerRe: Constructor in a web service Pin
badgrs1-Mar-07 5:15
badgrs1-Mar-07 5:15 
QuestionResource file question Pin
VK-Cadec1-Mar-07 3:19
VK-Cadec1-Mar-07 3:19 
Questionurgent help required with this Wrapping Pin
anuparvathy1-Mar-07 2:35
anuparvathy1-Mar-07 2:35 
AnswerRe: urgent help required with this Wrapping Pin
Paddy Boyd1-Mar-07 2:51
Paddy Boyd1-Mar-07 2:51 
AnswerRe: urgent help required with this Wrapping Pin
Sylvester george1-Mar-07 2:56
Sylvester george1-Mar-07 2:56 

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.