No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[CODE] objEffort.IssueDate = string.IsNullOrEmpty(txtDate.Text) ? (DateTime?)null : DateTime.ParseExact(txtDate.Text.Trim(), "dd/MM/yyyy", null); [/CODE] I want to pass "07/20/2011 12:10 PM" this format to database . Please Reply me how can i do this. It's bit urgent |
|
Re:
Hello, I developed a website in which I added a master page,header and footer. In the header, I added a code but its not working fine because the pages that I am adding are in another folders as shown below... [CODE]<li><a href="Home.aspx">Home</a></li> <li><a href="KMApps/KMAppsHome.aspx">Applications</a></li> [/CODE] As you can see that … |
|
Hi. I have a button to which i want to pass a commandargument(s) which are selected values of two different dropdowns. please suggest me how can i pass the values??? |
|
Re:
hey, i m working on Asp.net with C# i made a table which has username, CheckIntime, Checkouttime and Date in a grid view i want that customer enter his name in text box and click the submit button then it display his data in table on web page i do … |
|
Re:
hi, plz help me how can i get the return value of mysql stored function from ASP.net with c#. Currently i m using the following code for this purpose [code] string strConnect = "Data Source=" + host + ";Database=" + database + ";User ID=" + user + ";Password=" + password … |
|
Re:
i am currently working on a survey project and the answer should be something like that Poor,Average,Good,Very Good,Excellent and their value will be 1 2 3 4 5. but i can't bind them into my database, the questions show using datalist, and i got no idea how to fix this.. … |
|
Re:
In my project I allow to register anyone and he can schedule a test on certain date. But problem is when registered user set a test on a date assuming local time, but the server which hosting the site is in U.S hense there is mismatch occurs. Can anybody tell … |
|
Re:
[code] cmd=new sqlcommand("insert_student",con) cmd.commandtype=commandType.StoredProcedure Add.Parameters.AddwithValue("@stuid",txtstuid.text) Add.Parameters.AddwithValue("@name",txtname.text) Add.Parameters.AddwithValue("@course",txtcourse.text) con.open() cmd.ExecuteNonQuery() [/code] i want to create method for executing procedure but how it possible... [code] Function ExecuteStoredProc(Proc as String) cmd=new sqlcommand(Proc,con) cmd.commandtype=commandType.StoredProcedure Add.Parameters.AddwithValue(????,?????) con.open() cmd.ExecuteNonQuery() end function [/code] how to call this function can anybody help me......... |