hi I am reading xls file in that there are 5 column of date in dd/mm/yyyy format but while i am reading from code few of date column format is change. i.e mm/dd/yyyy how to fix this problem
yogesh m
Posts
-
xls date time format -
Timeout expired SqlServer 2005can u send me syntax for how to create index on table
-
Timeout expired SqlServer 2005HI friends I am getting error while i am inserting record in database. Records are aroung more than 60,000. I also tried timeout property of command object I want diff solution .... Error Detail: Timeout expired . Timeout period elapsed prior to completion or server is not responing Thanks And regards Yogesh M
-
Froblem regarding AjaxHI want HTML return by the server ... So i written
-
Froblem regarding AjaxHI problem regarding ajax .. Inside ajax Method I use code to bind data .. Code is as follow [Ajax.Method] public string GetCity(int stateId ) { MenuDirectory.BLL .MasterData objMaster=new MenuDirectory.BLL.MasterData (); DataSet dsCity=objMaster.GetCitiesForState(stateId); DataRow dr=dsCity.Tables[0].NewRow(); dr["cityId"]=0; dr["cityName"]="Select City"; dsCity.Tables[0].Rows.InsertAt(dr,0); dropDownResCity.DataSource=dsCity.Tables[0]; dropDownResCity.DataTextField="cityName"; dropDownResCity.DataValueField="cityId"; dropDownResCity.DataBind(); HtmlTextWriter testWriter = null; dropDownResCity.RenderControl(testWriter); return testWriter.ToString(); } I got error on line "dropDownResCity.RenderControl(testWriter);" As Control 'dropDownRestCity' of type DropDownList must be place inside form tag with run at = "Server" where and my control is inside form tag The html for AspX as follow AjaxCall function CallFillCity(objCity) { //alert(obj.value); var obj = document.getElementById("dllCity"); //alert(obj.innerHTML); //alert(objCity.value); CityHtml = My.Page.GetCity(objCity.value); //alert(CityHtml.value); obj.innerHTML = CityHtml.value; }
Any know solution ... yogesh M
-
Modify browser urlThanks and regards ....
-
Modify browser urllet take example :- i have url like www.domainname.com/admin/Page1.aspx and www.domainname.com/sa/Page1.aspx and let say user is login to application having url in broswer www.domainname.com/admin/Page1.aspx and the same user know this other url of site i.e www.domainname.com/sa/Page1.aspx and if he made changes in browser address bar by replacing admin word by sa still he see that page and which i want to avoid ... Is there other way to avoid this ....
-
Modify browser url -
Convert Doc to PDFHi any one know how to convert Doc file to PDF in .Net if yes pls send link as well as code snaps Thanks Regards Yogesh Mahajan yogsworld
-
domvalidator controlhi any body use domvalidator control... If yes then how to remove dot from each message... e.g Important Messages * Please enter name on account. * Please enter billing address. * Please enter city. * Please select expiry date * Please enter credit card number. * Please enter zip code. I have to remove star.. from each msg... Thanks
-
Removing special character from stringHi to all I am rading text file ...... line by line by using string line = rd.ReadLine(); but line contain special character like \t\r\n I want to remove all the character from that line .. HOw it possible Yogesh
-
remove special character from stringHi to all I am rading text file ...... line by line by using string line = rd.ReadLine(); but line contain special character like \t\r\n I want to remove all the character from that line .. HOw it possible Yogesh Yogesh