convert string to datetime vb.net
- by sinae
i need to convert strings to date format. the requirement is if current month is selected, the date should be getdate. if any other month is selected then it should be first of that month.
the data coming in is "January 2010", "February 2010" and so on.
but it should be inserted into sql server database as 01/01/10 or 02/01/10