Click here to Skip to main content
15,892,298 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net 2.0 Unable to Start debugging on the web server Pin
Hesham Amin23-Feb-07 7:53
Hesham Amin23-Feb-07 7:53 
AnswerRe: asp.net 2.0 Unable to Start debugging on the web server Pin
szukuro24-Feb-07 9:11
szukuro24-Feb-07 9:11 
GeneralRe: asp.net 2.0 Unable to Start debugging on the web server Pin
aransiola26-Feb-07 23:57
aransiola26-Feb-07 23:57 
QuestionHelp: RaisePostBackEvent does not get call Pin
Rookie23-Feb-07 7:16
Rookie23-Feb-07 7:16 
Questionajax popup tricking Pin
netJP12L23-Feb-07 6:41
netJP12L23-Feb-07 6:41 
AnswerRe: ajax popup tricking Pin
netJP12L23-Feb-07 8:48
netJP12L23-Feb-07 8:48 
Questionajax popup tricking Pin
netJP12L23-Feb-07 6:33
netJP12L23-Feb-07 6:33 
Questionadd hyperlink dynamically using a gridview Pin
lavell23-Feb-07 6:22
lavell23-Feb-07 6:22 
I need help in adding a hyperlink to a column dynamically using a gridview in asp.net. This is the code that I have now. It displays three columns populated with data and i want to hyperlink the name column that is created in the program.

Dim _Table As New DataTable
Dim _Row As DataRow
'Create the columns
Dim _seopName As New DataColumn("Name", GetType(String))
Dim _seopType As New DataColumn("Type", GetType(String))
Dim _key As New DataColumn("Key", GetType(String))
'Add the columns to the DataTable's Columns collection
_Table.Columns.Add(_seopName)
_Table.Columns.Add(_seopType)
_Table.Columns.Add(_key)

Dim seopname As String
Dim seoplname As String
Dim seopkey As String
Dim seoptyp As String

Dim sifld1 As Integer
Dim sifld2 As Integer
Dim sifld3 As Integer
Dim sifld4 As Integer

Dim seopConn As String = GIS.Common.GISGlobal.GetKey("seopconn")
If mRecordset.Count > 0 Then
If mRecordset.MoveFirst Then
sifld1 = lay.ReturnFieldIndex(mRecordset, seopConn & "FNAME")
sifld2 = lay.ReturnFieldIndex(mRecordset, seopConn & "LNAME")
sifld3 = lay.ReturnFieldIndex(mRecordset, seopConn & "KEY")
sifld4 = lay.ReturnFieldIndex(mRecordset, seopConn & "SUB_TYPD")

Do While Not mRecordset.EOF
_Row = _Table.NewRow
seopkey = Trim(mRecordset.Fields.FieldValueAsString(CLng(sifld4)))
_Row("type") = seopkey

seopname = Trim(mRecordset.Fields.FieldValueAsString(CLng(sifld1)))
seoplname = Trim(mRecordset.Fields.FieldValueAsString(CLng(sifld2)))
_Row("Name") = seopname & " " & seoplname

seoptyp = Trim(mRecordset.Fields.FieldValueAsString(CLng(sifld3)))
_Row("Key") = seoptyp

'Updated for Map It option
_Table.Rows.Add(_Row)
mRecordset.MoveNext()
Loop
End If
End If
Dim sReport As New DataTable
'Create the columns
Dim _sName As New DataColumn("Name", GetType(String))
Dim _sType As New DataColumn("Type", GetType(String))
Dim _sKey As New DataColumn("Key", GetType(String))

'Add the columns to the DataTable's Columns collection
sReport.Columns.Add(_sName)
sReport.Columns.Add(_sKey)
sReport.Columns.Add(_sType)
Dim mReport As DataView
mReport = _Table.DefaultView
'for Map It option

If mReport.Count = 0 Or mReport.Count < 0 Then
litReport.Text = "No Records Found for Sexual Predator/Offender Buffer Map."
litReport.Visible = True
gd_seop.Visible = False
Else
'Add Row for GOB records
litReport.Visible = False

' dvReport.RowFilter = "Source" & "='LSCHOOLS'"

gd_seop.DataSource = mReport
gd_seop.DataBind()
gd_seop.Visible = True
'Print Option
' _GISBasePage.MapParameter.ReportTable = showReport
End If
End If 'IF
AnswerRe: add hyperlink dynamically using a gridview Pin
kubben23-Feb-07 8:31
kubben23-Feb-07 8:31 
QuestionClose my Page Pin
i-p-g-i23-Feb-07 6:10
i-p-g-i23-Feb-07 6:10 
AnswerRe: Close my Page Pin
Guffa23-Feb-07 6:15
Guffa23-Feb-07 6:15 
QuestionControl properties changing during page processing Pin
badgrs23-Feb-07 5:46
badgrs23-Feb-07 5:46 
AnswerRe: Control properties changing during page processing Pin
kubben23-Feb-07 5:56
kubben23-Feb-07 5:56 
AnswerRe: Control properties changing during page processing Pin
Abisodun23-Feb-07 5:56
Abisodun23-Feb-07 5:56 
QuestionPage Breaks in reporting services Pin
kalyan_vb23-Feb-07 5:46
kalyan_vb23-Feb-07 5:46 
QuestionProblem with FileInfo.Exist and network access Pin
Stephan Pilz23-Feb-07 4:36
Stephan Pilz23-Feb-07 4:36 
AnswerRe: Problem with FileInfo.Exist and network access Pin
kubben23-Feb-07 4:53
kubben23-Feb-07 4:53 
GeneralRe: Problem with FileInfo.Exist and network access Pin
Stephan Pilz23-Feb-07 5:07
Stephan Pilz23-Feb-07 5:07 
GeneralRe: Problem with FileInfo.Exist and network access Pin
kubben23-Feb-07 5:20
kubben23-Feb-07 5:20 
Questionuse of hidden field Pin
raquidd2223-Feb-07 4:23
raquidd2223-Feb-07 4:23 
AnswerRe: use of hidden field Pin
kubben23-Feb-07 5:00
kubben23-Feb-07 5:00 
GeneralRe: use of hidden field Pin
Michael Sync23-Feb-07 21:33
Michael Sync23-Feb-07 21:33 
Questiontext box with multiple lines + javascripting + asp.net 2.0 + c# Pin
ritu432123-Feb-07 2:34
ritu432123-Feb-07 2:34 
AnswerRe: text box with multiple lines + javascripting + asp.net 2.0 + c# Pin
Sylvester george23-Feb-07 2:36
Sylvester george23-Feb-07 2:36 
GeneralRe: text box with multiple lines + javascripting + asp.net 2.0 + c# Pin
Michael Sync23-Feb-07 21:20
Michael Sync23-Feb-07 21:20 

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.