check here...

Vasanthakumar D replied to abc V at 10-May-08 01:16

Hi,

check this...

1. fill the dataset using recods from DB...

2. try this code...

for(int count = 0;count < ds.Tables[0].Rows.Count;count++)

{

      ListItem x = new ListItem();

         x.Text = ds.Tables[0].Rows[count]["TextFiled"].ToString();

         x.Vaklue= ds.Tables[0].Rows[count]["valueField"].ToString();

        x.Attributes.Add("title", ds.Tables[0].Rows[count]["tooltipfield"].ToString());

        dropdown1.Items.Add(x);

}



Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  tooltip for each element in dropdownlist control from db and also the tooltipo description in db - abc V  09-May-08 10:18 10:18:38 AM
      check here... - Vasanthakumar D  10-May-08 01:16 1:16:25 AM
          BUT IT WILL lost on other control postback event - imran khan  10-May-08 02:40 2:40:32 AM
              check here... - Vasanthakumar D  10-May-08 03:13 3:13:37 AM
View Posts