: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

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

Jump to Post

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.