Posted on: 12/19/2013 12:05:41 AM | Views : 683

Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0118: 'System.Data.SqlClient.SqlCommand' is a 'type' but is used like a 'variable' Source Error:
Line 17: protected void Button1_Click(object sender, EventArgs e) Line 18: { Line 19: SqlCommand = new SqlCommand("insert into tbl values(' ...

Go to the complete details ...