Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Overriding UserControl.Enabled Pin
livez2-Apr-06 22:51
livez2-Apr-06 22:51 
GeneralRe: Overriding UserControl.Enabled Pin
livez3-Apr-06 4:25
livez3-Apr-06 4:25 
QuestionDrag adn Drop mini form Pin
Fr2351662-Apr-06 22:25
Fr2351662-Apr-06 22:25 
AnswerRe: Drag adn Drop mini form Pin
Robert Rohde2-Apr-06 22:46
Robert Rohde2-Apr-06 22:46 
QuestionReading data From Ports Pin
V.2-Apr-06 22:22
professionalV.2-Apr-06 22:22 
AnswerRe: Reading data From Ports Pin
ronnylov3-Apr-06 0:36
ronnylov3-Apr-06 0:36 
GeneralRe: Reading data From Ports Pin
V.3-Apr-06 0:46
professionalV.3-Apr-06 0:46 
QuestionHow to pass Datetime Pin
MudkiSekhon2-Apr-06 22:17
MudkiSekhon2-Apr-06 22:17 
I am calling a function to which I am passing datetime as

User1.AddUser("abc","","cdf",true,DateTime.Parse("14/04/1983"),"abc@rediff.com","123","abc@gmail.com","123467","","ewq","","","Delhi","Delhi","India","110234");

The Prototype of this function is as

public int AddUser(string FirstName,string MidName,string LastName,bool Gender,DateTime DateOfBirth,string PrimaryEmail,string Password,string SecondaryEmail,string Telephone,string Mobile,string Street1,string Street2,string Street3,string City,string State,string Country,string PinCode)

But while running this function -- I am getting the exception as

An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll

Additional information: String was not recognized as a valid DateTime.


Plz tell me that how can i pass the Datetime type to function when I have only date.




Thanks,
Sandy

AnswerRe: How to pass Datetime Pin
V.2-Apr-06 22:24
professionalV.2-Apr-06 22:24 
AnswerRe: How to pass Datetime Pin
Guffa2-Apr-06 22:28
Guffa2-Apr-06 22:28 
QuestionHow to use Win32_TemperatureProbe Pin
Shajeel2-Apr-06 21:13
Shajeel2-Apr-06 21:13 
AnswerRe: How to use Win32_TemperatureProbe Pin
Expert Coming2-Apr-06 21:16
Expert Coming2-Apr-06 21:16 
GeneralRe: How to use Win32_TemperatureProbe Pin
Shajeel2-Apr-06 21:27
Shajeel2-Apr-06 21:27 
GeneralRe: How to use Win32_TemperatureProbe Pin
Expert Coming2-Apr-06 22:00
Expert Coming2-Apr-06 22:00 
QuestionRe: How to use Win32_TemperatureProbe Pin
Shajeel10-Apr-06 2:07
Shajeel10-Apr-06 2:07 
QuestionPreventing listviews to scroll on updates Pin
Hampus@foi2-Apr-06 21:09
Hampus@foi2-Apr-06 21:09 
AnswerRe: Preventing listviews to scroll on updates Pin
cbhkenshin2-Apr-06 22:42
cbhkenshin2-Apr-06 22:42 
GeneralRe: Preventing listviews to scroll on updates Pin
Hampus@foi2-Apr-06 22:57
Hampus@foi2-Apr-06 22:57 
GeneralRe: Preventing listviews to scroll on updates Pin
cbhkenshin3-Apr-06 0:17
cbhkenshin3-Apr-06 0:17 
GeneralRe: Preventing listviews to scroll on updates Pin
Dan Neely3-Apr-06 2:17
Dan Neely3-Apr-06 2:17 
Questiondrawing graph from c Pin
hackerz832-Apr-06 21:00
hackerz832-Apr-06 21:00 
AnswerRe: drawing graph from c Pin
Colin Angus Mackay2-Apr-06 23:34
Colin Angus Mackay2-Apr-06 23:34 
QuestionI want to use SQL Server2000 DTS Import/Export Wizard functionality from C# application Pin
Adnan Akram Malik2-Apr-06 20:51
Adnan Akram Malik2-Apr-06 20:51 
AnswerRe: I want to use SQL Server2000 DTS Import/Export Wizard functionality from C# application Pin
thejakes3-Apr-06 3:34
thejakes3-Apr-06 3:34 
QuestionHow to retieve share point data fron a wondows application (c#) Pin
K ANvar sadath2-Apr-06 20:51
K ANvar sadath2-Apr-06 20:51 

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.