So many more questions to be asked and answered....
Did you debug the code?
What happens when you debug it?
Is Repeater1_ItemCreated being triggered?
Does e.Item.FindControl("ddlOrdinal") result in a valid control reference?
Does objDDL have a valid selected value?
Is your data access code firing correctly?
Is the right data passed to the database?
Is the right data returned from the database?
And so on and so forth....
In other words: impossible for me to answer without relevant information.
My advice: set a breakpoint in Repeater1_ItemCreated (press F9), debug the application (press F5) and see how it behaves. Step through the code line by line and see what happens....
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
Beginning ASP.NET 3.5 : in C# and VB,
ASP.NET 2.0 Instant Results and
Dreamweaver MX 2004
Want to be my colleague? Then check out this post.