Your suggestion worked for that specific issue Thank you for that.
but after running into that I came up with a much larger issue.
With the repeater I do not have delete,Update options... This is the reason I initially wanted to go with either a gridview or Details view but the problem I had with that is when I create the sql query to pull the info from the database I need to use the
Uniqueidentifier field for a comparison. The problem I am having with that is the SQLDataSource does not allow for the UniqueIdentifier to be used. It keeps telling me something to the extent of.. "Cannot cast UniqueIdentifier as String"
Do you know how I can use a Gridview or Detailsview with using a uniqueIdentifier as a comparison in the SQL Query?
scripter26
Member
441 Points
191 Posts
Re: Error "Databinding methods such as Eval(), XPath(), and Bind() can only be used in the contex...
Nov 28, 2006 07:50 PM|LINK
Your suggestion worked for that specific issue Thank you for that.
but after running into that I came up with a much larger issue.
With the repeater I do not have delete,Update options... This is the reason I initially wanted to go with either a gridview or Details view but the problem I had with that is when I create the sql query to pull the info from the database I need to use the Uniqueidentifier field for a comparison. The problem I am having with that is the SQLDataSource does not allow for the UniqueIdentifier to be used. It keeps telling me something to the extent of.. "Cannot cast UniqueIdentifier as String"
Do you know how I can use a Gridview or Detailsview with using a uniqueIdentifier as a comparison in the SQL Query?
I hope that makes sense.....
Coasties.com