Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Using something other than datetime for dates and times

    Hello every body in list, here you have an example of how to return the date from a datetime format string..... ProdDateAdd is in DateTime Format.

    Solution.....

    SET DATEFORMAT DMY

    select...

  • RE: connection problem

    Hi Shital, Try this

    "data source=localhost; initial catalog=NorthWind;uid=sa;pwd=<your sa password>" />

     

    Another way is this

    in yuor app web.config

    <add key="UsrConnectionString" value="data source=localhos; initial catalog=Northwind;uid=sa;pwd=sa" />

    and your webform

    Dim oSqlConnect As New SqlConnection(ConfigurationSettings.AppSettings("UsrConnectionString"))

    oSqlConnect .Open()

Viewing 2 posts - 1 through 2 (of 2 total)