Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

Aashutoshkumar

@Aashutoshkumar
About
Posts
10
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Error in the Web Service
    A Aashutoshkumar

    Hi All, I have a problem in my web service application. I have created the web service in visual studio 2005 in which a method ReceiveMsg(string strMessage) accept the string(in Xml format) from the client and created the xml file. The web service is hosted on the IP(.203) , when I access this service from another IP(.73) it working fine and return “SUCCESS”. But when the client accesses this service they receive the “Fail” message. I have created the log file for this method. When client access this method a message “string instance not set to an instance of the string” is inserted into the log file. Following is the code of the ReceiveMsg(string strMessage) method. [WebMethod] public string ReceiveMsg(string strMessage) { string strFinalResponse = null; try { strFinalResponse = "SUCCESS"; intNo++; // this is static variable. string strdocPath; strdocPath = "C:\\RQFEED\\RQ"+intNo+".XML"; Byte[] docbinaryarray = Encoding.GetEncoding(1253).GetBytes(strMessage); FileStream objfilestream = new FileStream(strdocPath, FileMode.Create, FileAccess.ReadWrite); objfilestream.Write(docbinaryarray, 0, docbinaryarray.Length); objfilestream.Close(); CreateLogFiles Err = new CreateLogFiles(); Err.ErrorLog(Server.MapPath("Logs/ErrorLog"), strMessage); return strFinalResponse; } catch (Exception ex) { strFinalResponse = "FAIL"; CreateLogFiles Err = new CreateLogFiles(); Err.ErrorLog(Server.MapPath("Logs/ErrorLog"), ex.Message); return strFinalResponse; } } Please help me as asap. Thanks with Regards Ashutosh Kumar

    ASP.NET help csharp visual-studio sysadmin xml

  • Retriving value from google map
    A Aashutoshkumar

    i am using an application in which i have a google map in which i want to retrive a movie theatres within in a particular distance(5 to 10 Km.) and location is based on the zipcode of that particular area. i am using visual studio 2003. Aashutosh kumar

    ASP.NET csharp visual-studio

  • How to check If the Text box is Blank
    A Aashutoshkumar

    please try this on the click event of button if(Textbox1.Text=="") { .......... } Aashutosh kumar

    ASP.NET tutorial

  • Date formate in asp.net using C# Urgent!!!!! [modified]
    A Aashutoshkumar

    i have try this: string selectedLanguage = "en-GB"; UICulture = selectedLanguage ; Culture = selectedLanguage ; Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(selectedLanguage); Thread.CurrentThread.CurrentUICulture = new CultureInfo(selectedLanguage); System.IFormatProvider format = new System.Globalization.CultureInfo("fr-FR", true); string stringDate = "23/03/05"; DateTime DTddMMyyyy=DateTime.Parse(stringDate,format,System.Globalization.DateTimeStyles.None); the format of DTddMMyyyy is MM/dd/yyyy and i want it in dd/MM/yyyy as 23/03/2006. but the result should be in datetime data type. if i use datetime.tostring("dd/MM/yyyy") then it returns strinng type date. but i want the return type be datetime object not string/ i am using web service which take date in datetime format and in "dd/MM/yyyy" format. but in .Net the date type return or change or default format is "MM/dd/yyyy". so plz help me to find the solution. this phaze is final phase of my project and there i change ne thing like change in service provider then it effect my whole project so plz help me Ashutosh Kumar

    ASP.NET csharp asp-net help

  • Insert values into Listbox with Javascript
    A Aashutoshkumar

    yes ddlState is a id of dropdownlist. value is a variable through which we can insert data into list. Aashutosh Kumar

    ASP.NET javascript tutorial question

  • How to Convert This Code to C# ?
    A Aashutoshkumar

    Int32 nextLine; PrintGridHeaderLine(e); int StartOfpage = _CurrentPrintGridLine; for (int nextLine = _CurrentPrintGridLine; nextLine <= Min((_CurrentPrintGridLine + RowsPerPage(_PrintFont, e.Graphics)), ((System.Data.DataTable)(_DataGrid.DataSource)).DefaultView.Count); nextLine++) { PrintGridLine(e, nextLine); } Aashutosh kumar

    C# csharp graphics tutorial question

  • Insert values into Listbox with Javascript
    A Aashutoshkumar

    try this for (var i = 0; i < states.Tables[0].Rows.length; ++i) { document.getElementById("ddlState").options[document.getElementById("ddlState").options.length] = new Option(states.Tables[0].Rows[i].StateName, states.Tables[0].Rows[i].StateId); } or document.getElementById("ddlState").options[0] =value; Ashutosh kumar

    ASP.NET javascript tutorial question

  • Requirment need for Ajax
    A Aashutoshkumar

    http://en.wikipedia.org/wiki/AJAX">http://en.wikipedia.org/wiki/AJAX http://www.adaptivepath.com/publications/essays/archives/000385.php Aashutosh kumar

    ASP.NET csharp asp-net

  • How to move web user control on a web form
    A Aashutoshkumar

    Try This write on aspx page: <%@ Register TagPrefix="uc1" TagName="ConvertDt" Src="ConvertDt.ascx" %>

    write on .vb page: Imports DtConverter.ConvertDt create instance of usercontrol: Dim ab As New ConvertDt through ab you access method of usercontrol Aashutosh kumar -- modified at 6:16 Friday 6th October, 2006

    ASP.NET csharp asp-net help tutorial learning

  • Date formate in asp.net using C# Urgent!!!!! [modified]
    A Aashutoshkumar

    i am using a webservice in which a method is serach. i use this method which accept a argument of date type in dd/MM/yyyy formate. i have a textbox which accept the date from the user, when i convert textbox data into Datatime formate it converted into MM/dd/yyyy formate, but i have a requirement in dd/MM/yyyy formate of date type. please help me, i am using c#.Net 2003 -- modified at 0:29 Friday 6th October, 2006

    ASP.NET csharp asp-net help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups