Dim cn As SqlConnection
Dim cmd As SqlCommand
cn = New SqlConnection
cn.ConnectionString = ConfigurationManager.ConnectionStrings("fees_syste mConnectionString").ToString
cn.Open()
cmd = New SqlCommand
cmd.Connection = cn
cmd.CommandType = CommandType.Text
cmd.CommandText = "insert into fees_submit ("date","grno,fees_of_month","admission_fees","mon thly_fees","arears","others","Total_fees","Rupees_ inwords") values('"& date.text &"',"& grno.text &",dropdownlist1.text,"& afees.text &","& mfees.text &","& arrears.text &","& others.text &","& totsl.text &",'"& inwords.text &"') "
cmd.ExecuteNonQuery()