Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: file reading and writing problems Pin
Mustafa Ismail Mustafa15-Mar-09 4:00
Mustafa Ismail Mustafa15-Mar-09 4:00 
AnswerRe: file reading and writing problems Pin
Expert Coming15-Mar-09 5:45
Expert Coming15-Mar-09 5:45 
AnswerRe: file reading and writing problems Pin
StarTrekCafe15-Mar-09 16:04
StarTrekCafe15-Mar-09 16:04 
AnswerRe: file reading and writing problems Pin
StarTrekCafe15-Mar-09 18:06
StarTrekCafe15-Mar-09 18:06 
QuestionNot Gorogrian Calander In Asp.net Pin
Mohamed Ibrahim Omar15-Mar-09 0:25
Mohamed Ibrahim Omar15-Mar-09 0:25 
AnswerRe: Not Gorogrian Calander In Asp.net Pin
Mustafa Ismail Mustafa15-Mar-09 3:49
Mustafa Ismail Mustafa15-Mar-09 3:49 
General[Message Deleted] Pin
Mohamed Ibrahim Omar15-Mar-09 20:43
Mohamed Ibrahim Omar15-Mar-09 20:43 
GeneralRe: Not Gorogrian Calander In Asp.net Pin
Mohamed Ibrahim Omar15-Mar-09 20:43
Mohamed Ibrahim Omar15-Mar-09 20:43 
I am not Passing any date what I am doing is

adding Clander control from the tool box
then writing the following lines in page load event:
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("ar-SA");
Thread.CurrentThread.CurrentUICulture = ci;
Thread.CurrentThread.CurrentCulture = ci;

System.Threading.Thread.CurrentThread.CurrentCulture = ci;
System.Threading.Thread.CurrentThread.CurrentUICulture = ci;

then I am getting the following error:






Server Error in '/COEIA' Application.
--------------------------------------------------------------------------------

Valid values are between 1 and 9666, inclusive.
Parameter name: year
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Valid values are between 1 and 9666, inclusive.
Parameter name: year

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentOutOfRangeException: Valid values are between 1 and 9666, inclusive.
Parameter name: year]
System.Globalization.HijriCalendar.CheckYearRange(Int32 year, Int32 era) +2315381
System.Globalization.HijriCalendar.GetDaysInYear(Int32 year, Int32 era) +20
System.Globalization.HijriCalendar.GetDatePart(Int64 ticks, Int32 part) +234
System.Globalization.HijriCalendar.GetYear(DateTime time) +26
System.Web.UI.WebControls.Calendar.IsTheSameYearMonth(DateTime date1, DateTime date2) +73
System.Web.UI.WebControls.Calendar.EffectiveVisibleDate() +163
System.Web.UI.WebControls.Calendar.Render(HtmlTextWriter writer) +89
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266

Mohammed Ibrahim

Questionvb mail project problems Pin
StarTrekCafe15-Mar-09 0:25
StarTrekCafe15-Mar-09 0:25 
AnswerRe: vb mail project problems Pin
Christian Graus15-Mar-09 9:59
protectorChristian Graus15-Mar-09 9:59 
Questiontickets Project Help Pin
StarTrekCafe15-Mar-09 0:11
StarTrekCafe15-Mar-09 0:11 
AnswerRe: tickets Project Help Pin
Christian Graus15-Mar-09 10:08
protectorChristian Graus15-Mar-09 10:08 
AnswerRe: tickets Project Help Pin
StarTrekCafe15-Mar-09 13:33
StarTrekCafe15-Mar-09 13:33 
AnswerRe: tickets Project Help Pin
StarTrekCafe15-Mar-09 13:35
StarTrekCafe15-Mar-09 13:35 
QuestionLogin Project Problems Pin
StarTrekCafe15-Mar-09 0:02
StarTrekCafe15-Mar-09 0:02 
AnswerRe: Login Project Problems Pin
Abhijit Jana15-Mar-09 2:13
professionalAbhijit Jana15-Mar-09 2:13 
GeneralRe: Login Project Problems Pin
Colin Angus Mackay15-Mar-09 3:05
Colin Angus Mackay15-Mar-09 3:05 
AnswerRe: Login Project Problems Pin
StarTrekCafe15-Mar-09 13:41
StarTrekCafe15-Mar-09 13:41 
Questionproblem in cast value from money to decimal Pin
Sneha Bisht14-Mar-09 23:34
Sneha Bisht14-Mar-09 23:34 
AnswerRe: problem in cast value from money to decimal Pin
Colin Angus Mackay15-Mar-09 3:10
Colin Angus Mackay15-Mar-09 3:10 
Questionasp.net grid view [modified] Pin
PleaseHelpCP14-Mar-09 22:12
PleaseHelpCP14-Mar-09 22:12 
AnswerRe: asp.net grid view Pin
Christian Graus14-Mar-09 22:36
protectorChristian Graus14-Mar-09 22:36 
GeneralRe: asp.net grid view Pin
Alok Sharma ji15-Mar-09 17:55
Alok Sharma ji15-Mar-09 17:55 
Questionproblem in updating database via datagrid Pin
rosae61914-Mar-09 21:28
rosae61914-Mar-09 21:28 
AnswerRe: problem in updating database via datagrid Pin
Christian Graus14-Mar-09 21:44
protectorChristian Graus14-Mar-09 21:44 

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.