write code
-
I've just learning about asp.net by C#. I want to know how to creat a object about date, month, year. It's relate to insert into SQL Server. Example: Brithday: Date: dropdownlist Month: dropdownlist Year: dropdownlist Everyone can help me understand about it and create it????:confused:
-
I've just learning about asp.net by C#. I want to know how to creat a object about date, month, year. It's relate to insert into SQL Server. Example: Brithday: Date: dropdownlist Month: dropdownlist Year: dropdownlist Everyone can help me understand about it and create it????:confused:
As for creating an object that handles dates, look up the documenation of the
DateTime
object. You will be able to use this in a parameter for a stored procedure. Works fine. As for the collection of input, you will have to populate the dropdowns on your own and then create a DateTime object depending on the users selection. hth /matthiasI love deadlines. I like the whooshing sound they make as they fly by.
[Douglas Adams] -
I've just learning about asp.net by C#. I want to know how to creat a object about date, month, year. It's relate to insert into SQL Server. Example: Brithday: Date: dropdownlist Month: dropdownlist Year: dropdownlist Everyone can help me understand about it and create it????:confused:
ActiveUp has a nice, open-source date/time control that provides drop-downs like you're asking about, and is as easy to use as the built-ins. You can use Google to find it.