pls help

Recommended Answers

All 5 Replies

I see nothing to help if there is no code. I don't know the error unless the error is "pls help". The only way we help with these kind of things is if there's code, where not here to guess.

here it is

and alsothid one im using mysql

There's an error in your query. Post your code, the offending query is not visible in the image.

string constring = "server=localhost;port=3306;username=root;password=admin;database=point_of_sales";
            MySqlConnection condatadase = new MySqlConnection(constring);
            MySqlCommand cmddatabase = new MySqlCommand("SELECT * FROM productstbl WHERE product_description LIKE " + txtproductname.Text, condatadase);
;



            MySqlDataAdapter sda = new MySqlDataAdapter();
            sda.SelectCommand = cmddatabase;
            DataTable dbdataset = new DataTable();
            sda.Fill(dbdataset);
            BindingSource bsource = new BindingSource();

            bsource.DataSource = dbdataset;
            datagriditems.DataSource = bsource;
            sda.Update(dbdataset);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.