Hi,
Here i am saving OperatorName and OperatorImage(saving image path) to one table.
for example, Operator name is airtel,Operator image is airtel image. here i want to bind these two parameters to one dropdown list.
if anyone knows how to bind to dropdownlist please help me... i need examples like links.
I am also trying but image is not visible.......here is my code
protected void Page_Load(object sender, EventArgs e)
{
BindData();
}
private void BindData()
{
OperatorEntity REntity = new OperatorEntity();
Testdata Tdata = new Testdata();
List<OperatorEntity> Rlist = Tdata.GetRechargeOperators(REntity);
ddlOpeartor.Items.Clear();
ddlOpeartor.DataSource = Rlist;
ddlOpeartor.DataTextField = "OperatorName";
ddlOpear ...
Go to the complete details ...