i written below code in page load and all gridview events like rowdatabound,databound events
MySqlDataAdapter da ;
cmd = new MySqlCommand(text, mcon);
cmd.CommandType = cm;
da.SelectCommand = cmd;
i am getting exception as object instance.....
how to solve that exception
Look at this
link.It will help you.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)