I am using Kentico CMS7 my source code is :SqlCommand cm = new SqlCommand(" INSERT INTO jobpost ( postingid, companyid, companyname, jobid, jobtitle, industry, discipline,qualification, experience, jobtype, joblevel, jobterm, travel, city, country, jobdescription, noofapplicants, jobstatus, postedon,postedby ) VALUES ('fd','ff','df','" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','" + TextBox9.Text + "','" + TextBox10.Text + "','" + TextBox11.Text + "','" + TextBox12.Text + "','" + TextBox13.Text + "','" + TextBox14.Text + "','" + TextBox15.Text + "','" + DateTime.Now.ToShortDateString() + "','" +CMS.CMSHelper.CMSContext.CurrentUser.UserName+ "')", cn);Its working correctly.