In this blog we will know how to Show ToolTip text of CheckedListBox items bound from database in Windows Form.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
namespace InsertmultipleValueCheckBoxList
{
public partial class Form1 : Form
{
string ConnectionString = System.Configuration.ConfigurationSettings.AppSettings["dsn"];
OleDbCommand com;
string str;
private int tIndex = -1;
public Form1()
{
InitializeComponent();
checkedListBox1.MouseHover += new EventHandler(checkedListBox1_MouseHover);
checkedListBox1.MouseMove += new MouseEventHandler(checkedListBox1_MouseMove);
}
private void Form1_Load(object sender, EventArgs e)
{
OleDbConnection con = new OleDbConnection(ConnectionString);
con.Open();

Join the conversation! Your thoughts help the community grow.