Click here to Skip to main content
15,905,071 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET, XML, VB.NET Pin
Dot Net rookie17-Apr-08 3:41
Dot Net rookie17-Apr-08 3:41 
GeneralChanging from 3.5 framework to 3.0 Pin
ss.mmm15-Apr-08 3:42
ss.mmm15-Apr-08 3:42 
GeneralRe: Changing from 3.5 framework to 3.0 Pin
eyeseetee15-Apr-08 4:51
eyeseetee15-Apr-08 4:51 
Generaldate time format in insert record Pin
ptvce15-Apr-08 2:37
ptvce15-Apr-08 2:37 
GeneralRe: date time format in insert record Pin
eyeseetee15-Apr-08 3:14
eyeseetee15-Apr-08 3:14 
GeneralRe: date time format in insert record Pin
Herman<T>.Instance16-Apr-08 0:34
Herman<T>.Instance16-Apr-08 0:34 
GeneralRe: date time format in insert record Pin
ptvce16-Apr-08 1:14
ptvce16-Apr-08 1:14 
GeneralRe: date time format in insert record Pin
Herman<T>.Instance16-Apr-08 1:54
Herman<T>.Instance16-Apr-08 1:54 
is what you place between () a value in C# or an SQL Value?
Convert.ToDateTime(object) sees your c#value as an object and converts it to a datetime object.
The datetime object will be stored in your database.
Do you use Stored Procedures and SqlParamaters?
You can define an SqlParameter as SqlDbType.DateTime. Then you do not need to worry about date formats.

The direction is from c# value to a database or the other way ?

If you want to style a DateFormat in C# to dd-MM-yyyy you can do
DateTime myDateTime = DateTime.Now;
String StyleMyDateTime = Strong.Format("{0:dd-MM-yyyy}", myDateTime);

could you provide some more details of your problem like some code u use?
GeneralBind Label Value to Button Pin
sjs4u15-Apr-08 2:30
sjs4u15-Apr-08 2:30 
GeneralRe: Bind Label Value to Button Pin
Ashish Sehajpal15-Apr-08 4:17
Ashish Sehajpal15-Apr-08 4:17 
Generalsms problem Pin
Miss Maheshwari15-Apr-08 1:53
Miss Maheshwari15-Apr-08 1:53 
GeneralRe: sms problem Pin
Christian Graus15-Apr-08 1:55
protectorChristian Graus15-Apr-08 1:55 
GeneralRe: sms problem Pin
Miss Maheshwari15-Apr-08 2:10
Miss Maheshwari15-Apr-08 2:10 
GeneralRe: sms problem Pin
Vasudevan Deepak Kumar15-Apr-08 2:21
Vasudevan Deepak Kumar15-Apr-08 2:21 
GeneralRe: sms problem Pin
SomeGuyThatIsMe15-Apr-08 2:51
SomeGuyThatIsMe15-Apr-08 2:51 
QuestionHow to add data in two columns in a grid view and display that in a third column. Pin
thoratih15-Apr-08 1:38
thoratih15-Apr-08 1:38 
GeneralRe: How to add data in two columns in a grid view and display that in a third column. Pin
Christian Graus15-Apr-08 1:54
protectorChristian Graus15-Apr-08 1:54 
AnswerRe: How to add data in two columns in a grid view and display that in a third column. Pin
Ashish Sehajpal15-Apr-08 4:12
Ashish Sehajpal15-Apr-08 4:12 
GeneralProblem with an ajaxControl ModalPopUpExtender Pin
pyde15-Apr-08 1:35
pyde15-Apr-08 1:35 
GeneralRe: Problem with an ajaxControl ModalPopUpExtender Pin
Broken Bokken15-Apr-08 2:40
Broken Bokken15-Apr-08 2:40 
GeneralRe: Problem with an ajaxControl ModalPopUpExtender Pin
pyde15-Apr-08 8:56
pyde15-Apr-08 8:56 
Questionwhat is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Tridip Bhattacharjee15-Apr-08 1:32
professionalTridip Bhattacharjee15-Apr-08 1:32 
AnswerRe: what is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Christian Graus15-Apr-08 1:33
protectorChristian Graus15-Apr-08 1:33 
GeneralRe: what is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Broken Bokken15-Apr-08 2:48
Broken Bokken15-Apr-08 2:48 
GeneralRe: what is the difference between atlas:scriptmanager and asp:scriptmanager Pin
Tridip Bhattacharjee16-Apr-08 19:56
professionalTridip Bhattacharjee16-Apr-08 19:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.