c#,asp.net,sql-server,skip,asp.net-placeholder
The read() before the while is suspicious. I suspect that is eating one row. Another possibility for losing rows would be case-sensitive collations -- if the category could be 'a' (or a variant in another encoding). However, this depends on the default or explicit collations used for the column, database,...
c#,asp.net,user-controls,viewstate,asp.net-placeholder
Declare a List of type Buttons on OnInit method; then in RefreshPlaceHolder retrieve and loop through selected tags and add them to the List protected override void OnInit(EventArgs e) { List<Button> listButtons ; base.OnInit(e); } void RefreshPlaceholder() { listButtons = new List<Button>(); PHList.Controls.Clear(); foreach(var x in SelectedTags) { Button b...