him_mca 0 Newbie Poster

i have a datadriven form which is fetching data from sql server and displaying it into textfile now i want if any error occures in this application then it will log error into the following database tabel

i have created following fields,And table name is ErrorLogFile
errorid auto
edate datetime
edetails varchar

how can i store error information into the this table

plz help me


i am using vb.net 2003 and sql server 2000