ADO.NETFor discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
dim dt as sqlparameter("@date",sqldbtype.datetime)
dt.value=txtdt.date
dt.direction=parameterdirection.input
cmd.parameters.add(dt)
i am getting a data from textbox and i am passing the values to sql database.in the sqldatabase parameter"@date" is declared as "datatime". when i am working with this code i am getting an error "http:500":unable to run scripts.
so i thought i am taking a string value from textbox and i have to convert it into date value.am i correct?if yes please tell me how to convert string values to datetime values.
I am using vb.net in windows xp home edition. when i wish to create a new asp.net web application from vb.net, the error shows "web access failed from root directory wwwroot"
Please help me how to create a asp.net web application.