Help me out...!
Hi All,
Im working on VS app which fetches data from excel sheet and its working really well but the problem is now i want to update the excel sheet using code....! Im using this code
objConn.Open()
sql = "Insert into [Data$] (Projectc, Projectn, Customer, Endu, Projectm) values ('asdasd','asda','kjljkl','wqe','sdsadxc')"
Dim objCommand As New OleDb.OleDbCommand(sql, objConn)
Dim objAdapter As New OleDb.OleDbDataAdapter(objCommand)
objCommand.CommandText = sql
objCommand.ExecuteNonQuery()
objConn.Close()
But it is not accepting the column names... so please help me out...!
Ahmed Muneeb
Cell No. +93-321-6218648
|