Asp.net checkboxlist, select or deselect all list items Part 24

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 13

  • @krismaly6300
    @krismaly6300 10 лет назад

    Selecting a specific item and Select All & DeSelect All functionality explained well.
    Recommend others to watch this video.
    Thanks a bunch

  • @priyamaheshwari3554
    @priyamaheshwari3554 Год назад

    Sir- Great Video- One addition to the deselect All ---> Instead of looping to selected=false we can also use .ClearSelection() option
    Thanks

  • @stepan7396
    @stepan7396 8 лет назад

    Very nice tutorial, I watched all videos and learn a lot.Thanks!

  • @sshishesazshishesaz2414
    @sshishesazshishesaz2414 10 лет назад

    Thank you a lot for your great and clear explanation, great video, I am looking for a quick demo about how to populate a listbox items based on selecting an item from a drop down list, I thin that it is should be done thru DB connection , but I have no clue how :(

  • @YTBHA
    @YTBHA 8 лет назад +1

    Thank you Sir,
    we can also use the method ClearSelection() of the CheckBoxList object to deselect all the items.

  • @oraksoft7471
    @oraksoft7471 7 лет назад

    Damn. why should we go to university for fucking study instead of watching kudvenkat channel on youtube.
    This is the real Master .Thankyou so much for your greate tutorials .

  • @swapnilsonsurkar2136
    @swapnilsonsurkar2136 8 лет назад +1

    this is really awesome..#select and unselect_all

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  8 лет назад +1

      Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
      I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      If you need DVDs or to download all the videos for offline viewing please visit
      www.pragimtech.com/order.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ruclips.net/video/y780MwhY70s/видео.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ruclips.net/user/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Good Luck
      Venkat

  • @juliobarriga
    @juliobarriga 11 лет назад

    Great video. Just in my opinion I think the deselect all can be more efficient by setting the index of the checkbox list to -1 instead of looping. CheckBoxList1.SelectedIndex = -1;

  • @erdinc2727
    @erdinc2727 11 лет назад

    great explanation. thank u

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Thank you very much for taking time to give feedback. For email alerts, when new videos are uploaded, please subscribe to my channel. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video.

  • @nilarahmat
    @nilarahmat 11 лет назад

    i want to create a function where when Admin check/uncheck the checkboxs in the gridview it will Activate/Deactivate the user, and the value (Activate/Deactivate) will be stored inside database (sql server 2008). How exactly do i do that? Can you please make a tutorial on it? Thank You very much.

  • @timtim5620
    @timtim5620 8 лет назад

    Dear Venkat,
    I Hope you can help me out
    i have done retrieve from database , but i dont know how to retrieve with checkbox . I also want to have button Select/deselect all. Or one by one selection and add ONLY lastname because i am retrieving name and lastname from database like below:
    public Form1()
    {
    InitializeComponent();
    fillBox();
    }
    void fillBox()
    {
    ConnectionStringSettings conSettings = ConfigurationManager.ConnectionStrings["KGConnectionString"];
    string connectionString = conSettings.ConnectionString;
    try
    {
    con = new SqlConnection(connectionString);
    con.Open();
    cmd = new SqlCommand("SELECT name, lastname FROM try1", con);
    dr = cmd.ExecuteReader();
    while (dr.Read())
    {
    cmbEmail.Items.Add(dr[0].ToString() + " | " + dr[1].ToString());
    }
    }
    catch (Exception ex)
    {
    MessageBox.Show(ex.Message);
    }
    }
    private void combobox_SelectedIndexChanged(object sender, EventArgs e)
    {
    if (combobox.SelectedIndex > 0 || combobox.SelectedIndex == 0)
    {
    string gettext = combobox.SelectedItem.ToString();
    txtLastName.Text = gettext;
    }
    }