Click here to Skip to main content
14,490,398 members
   

ASP.NET

 
AnswerRe: Dropdownlist not displaying selectedItem in GridView Pin
michaelschmitt6-Jun-10 23:19
Membermichaelschmitt6-Jun-10 23:19 
GeneralRe: Dropdownlist not displaying selectedItem in GridView Pin
meeram3956-Jun-10 23:52
Membermeeram3956-Jun-10 23:52 
GeneralRe: Dropdownlist not displaying selectedItem in GridView Pin
michaelschmitt7-Jun-10 0:06
Membermichaelschmitt7-Jun-10 0:06 
GeneralRe: Dropdownlist not displaying selectedItem in GridView Pin
meeram3957-Jun-10 0:31
Membermeeram3957-Jun-10 0:31 
GeneralRe: Dropdownlist not displaying selectedItem in GridView Pin
michaelschmitt7-Jun-10 1:43
Membermichaelschmitt7-Jun-10 1:43 
AnswerRe: Dropdownlist not displaying selectedItem in GridView - Resolved Pin
meeram3957-Jun-10 1:41
Membermeeram3957-Jun-10 1:41 
GeneralRe: Dropdownlist not displaying selectedItem in GridView - Resolved Pin
michaelschmitt7-Jun-10 1:45
Membermichaelschmitt7-Jun-10 1:45 
QuestionDateFormat Problem in ASP.NET Pin
sharad Pyakurel6-Jun-10 21:57
Membersharad Pyakurel6-Jun-10 21:57 
I have needed to insert and update DateTime Field in MSSQL Database Table. I am using Text Querry. My input Control is TextBox where the format of Date is "dd/MM/yyyy". In Database it should be save as "yyyy-MM-dd". I have used a Function to convert Date Format as:

public static string ConvertToDate(string pstr)
{
string result=string.empty;
try
{
result = "'" + Convert.ToDateTime(str).ToString("yyyy/MM/dd") + "'";
}
catch
{
result = System.Data.SqlTypes.SqlDateTime.Null.ToString();
}
}

The string Data Returned after conversion is used for insertion.

I I execute Application Visual studio by compiling it works well. but when i make virtual Directory of this application and run this through browser it doesn't work.

How can i solve this issue.
AnswerRe: DateFormat Problem in ASP.NET Pin
saini arun6-Jun-10 22:06
Membersaini arun6-Jun-10 22:06 
AnswerRe: DateFormat Problem in ASP.NET Pin
walterhevedeich6-Jun-10 22:47
professionalwalterhevedeich6-Jun-10 22:47 
GeneralRe: DateFormat Problem in ASP.NET Pin
sharad Pyakurel7-Jun-10 1:38
Membersharad Pyakurel7-Jun-10 1:38 
GeneralRe: DateFormat Problem in ASP.NET Pin
walterhevedeich7-Jun-10 2:28
professionalwalterhevedeich7-Jun-10 2:28 
AnswerRe: DateFormat Problem in ASP.NET [modified] Pin
kupps7-Jun-10 21:09
Memberkupps7-Jun-10 21:09 
GeneralRe: DateFormat Problem in ASP.NET Pin
sharad Pyakurel8-Jun-10 18:08
Membersharad Pyakurel8-Jun-10 18:08 
AnswerRe: DateFormat Problem in ASP.NET Pin
Goutam Patra29-Jun-10 3:03
professionalGoutam Patra29-Jun-10 3:03 
QuestionTabContainer cannot have children of type 'System.Web.UI.UpdatePanel'. Pin
developerit6-Jun-10 21:05
Memberdeveloperit6-Jun-10 21:05 
AnswerRe: TabContainer cannot have children of type 'System.Web.UI.UpdatePanel'. Pin
Jamil Hallal6-Jun-10 21:55
professionalJamil Hallal6-Jun-10 21:55 
QuestionHow to be man in the middle for a http communication!! Pin
Nadia Monalisa6-Jun-10 19:57
MemberNadia Monalisa6-Jun-10 19:57 
AnswerRe: How to be man in the middle for a http communication!! Pin
Adam R Harris7-Jun-10 4:15
MemberAdam R Harris7-Jun-10 4:15 
GeneralRe: How to be man in the middle for a http communication!! Pin
Nadia Monalisa7-Jun-10 8:51
MemberNadia Monalisa7-Jun-10 8:51 
GeneralRe: How to be man in the middle for a http communication!! Pin
Adam R Harris7-Jun-10 9:18
MemberAdam R Harris7-Jun-10 9:18 
QuestionHow to enforse 'https' or 'http' protocol in ASp.NET Web Form Routing ? Pin
Nadia Monalisa6-Jun-10 19:19
MemberNadia Monalisa6-Jun-10 19:19 
QuestionScroll bar not maintaining its position in ListView (ASP.net) Pin
mittalpa6-Jun-10 18:48
Membermittalpa6-Jun-10 18:48 
AnswerRe: Scroll bar not maintaining its position in ListView (ASP.net) Pin
Sandeep Mewara6-Jun-10 19:45
mentorSandeep Mewara6-Jun-10 19:45 
QuestionHow to send mail automatically. Pin
Honeyboy_206-Jun-10 16:46
MemberHoneyboy_206-Jun-10 16:46 

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.