Monday, 19 March 2018

Multiple controls with the same ID 'SqlDataSource


Are you getting tis error when the page refresh's ,Multiple controls with the same ID 'SqlDataSource


If you are dynamically creating the Sqldatasouce using page.controls.add and it fails when reloading  then Try this as a  work around

If IsPostBack = False Then

Me.Page.Controls.Add(SqlDataSourcepicking1)

End If


Good luck.



No comments:

Post a Comment

Multi Point USB Charger

  USB Plug Charger, 4-Port USB Fast Charger Plug with 33W Intelligent Quick Charge 3.0 Wall Charger, Multi USBPower Adapter UK Fast Charging...