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 :(
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 .
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
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;
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.
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.
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; } }
Selecting a specific item and Select All & DeSelect All functionality explained well.
Recommend others to watch this video.
Thanks a bunch
Sir- Great Video- One addition to the deselect All ---> Instead of looping to selected=false we can also use .ClearSelection() option
Thanks
Very nice tutorial, I watched all videos and learn a lot.Thanks!
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 :(
Thank you Sir,
we can also use the method ClearSelection() of the CheckBoxList object to deselect all the items.
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 .
this is really awesome..#select and unselect_all
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
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;
great explanation. thank u
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.
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.
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;
}
}