I am trying to insert data from the gridview into my database table "art_port". I am only inserting one column from the gridview into my database table. When I execute the insert method, it throws a exception error --> Input
string was not in a correct format.
I have verified that my insert statement matches my fieldnames as my 'art_port' table's fieldnames.
using (SqlConnection con = new SqlConnection(strConnString))
{
string user_id = (string)this.Session["UserAuthentication"];
if (user_id != null)
{
...
Go to the complete details ...