Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Webform Error

$
0
0

Hi,

I am binding my data in a datalist, now on linkbutton click. i am redirecting to another page and, their i am fiiling my form with data of that datalist.

Till here it is working fine,

1.but on second page i have a few dropdown, their the item which i am adding showing two time 

2.I have configured validation here, dropdownlist is showing selected item which i am adding, but still it is showing it's required.

method of filing data on second page

SqlDataReader drproductdetail = ado.drSelectData(str);
if (drproductdetail.Read())
{

country.SelectedItem.Text = drproductdetail["country"].ToString();


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>