:Notes Repeater
:Dim Notes RepeaterDataSource As sqlDataSource = e.Row.FindControl("DataSource1")
:NotesRepeater DataSource.Select Command = "SELECT *FROM [contact.Notes] WHERE Type = 'POC' AND ContactID = " & Me.ContactsGridview.Datakeys(e,row.RowIndex).value

Recommended Answers

All 3 Replies

NotesRepeater DataSource.Select Command = "SELECT *FROM [contact.Notes] WHERE Type = 'POC' AND ContactID = " & Me.ContactsGridview.Datakeys(e,row.RowIndex).value

--error here

What does the error say? BTW your code looks odd to me not VB.Net

it is .aspx.vb page code...
Notes Repeater
:Dim Notes RepeaterDataSource As sqlDataSource = e.Row.FindControl("DataSource1")
:NotesRepeater DataSource.Select Command = "SELECT *FROM [contact.Notes] WHERE Type = 'POC' AND ContactID = " & Me.ContactsGridview.Datakeys(e,row.RowIndex).value

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.