I am trying to do a datadriven test in Coded UI. I am able to configure the csv file (for parameterizing mac id)and fetch the data from csv file using
My sample csv file is as follows:
But my doubt is how can I insert the values fetched from the csv file? My insert query in Vb.net code looks like this
"Insert into table_log values(macid,'1','1:30:09PM','16-apr-2010','AdminMonitorOffExecuted','user')"
On executing the code, "Null" value is entered in MacId column in the database.
Please help me in solving this.