Search Results

Search found 2 results on 1 pages for 'rupeshmalviya'.

Page 1/1 | 1 

  • List Box Multiple Selection Problem

    - by rupeshmalviya
    Hello Friends I am using a list box control in aspx page i have set multiple selection property to true, but when i try to select more than one item it does not select multiple items, it selects one only do i have to do something programatically here is my code on code behind nothing ...i want why it is not selecting more than one item's .. i am using namespace using System.Web.UI.WebControls; as well but of no avail..

    Read the article

  • help me with the following sql query

    - by rupeshmalviya
    could somebody correct my following query, i am novice to software development realm, i am to a string builder object in comma separated form to my query but it's not producing desired result qyery is as follows and string cmd = "SELECT * FROM [placed_student] WHERE passout_year=@passout AND company_id=@companyId AND course_id=@courseId AND branch_id IN('" + sb + "')"; StringBuilder sb = new StringBuilder(); foreach (ListItem li in branch.Items) { if (li.Selected == true) { sb.Append(Convert.ToInt32(li.Value) +", "); } } li is integer value of my check box list which are getting generated may be differne at different time ...please also suggest me some good source to learn sql..

    Read the article

1