User Profile

Collapse

Profile Sidebar

Collapse
amollokhande1
amollokhande1
Last Activity: Apr 5 '10, 09:39 AM
Joined: Feb 14 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • System.OutOfMemoryException while exporting to CSV

    Hi All,

    I am facing an issue while exporting the data of 40k+ to CSV. Here is the implementation detail
    1. Fetch the data from database
    2. Create the comma seperated list and store that into string variable
    3. Once the entire data is converted into comma seperated list write that string variable with data in it (comma seperated list) back to the browser using Reponse.write


    Above functionality works well if I export...
    See more | Go to post

  • Issue with Base64Encoding for Unicode Data

    Hi All,

    Currently we are facing an issue while decoding the Base64Encoded unicode data.

    Here is the scenario

    We have one custom javascript function that encodes the unicode data using Base64 mechanism. After encoding the data on client side we are sending it back to the server. On Server side we are decoding this unicode data using microsoft framework inbuild functions as below
    Code:
    Private Function
    ...
    See more | Go to post

  • Fetching the content (XSLT) from XSLTCompiledTransform

    Hi All,

    Following is a piece of code that loads the XSLT

    Code:
    xslt = New XslCompiledTransform(False)
    xslt.Load(objPatternTemplate, objXSLTSettings, New XmlUrlResolver)
    Now I want to modify the content of xslt which is loaded in xslt object without reloading the xslt.

    Is it possible to modify the stylesheet contents loaded in xslt (XsltCompiledTr ansform) object something...
    See more | Go to post

  • amollokhande1
    started a topic Releasing the Heap Memory

    Releasing the Heap Memory

    Hi All,

    We have ASP.Net based content management web application. We are performing lots of XML based operations like setting the innerxml, loading the xml, string replace operations on XML etc. As per my observation during these operations,memo ry keep on allocating on heap and never release untill Garbage collector gets called by system. I also set all the objects to nothing after its use, but still it is not releasing the memory....
    See more | Go to post

  • Thanks Sagar. This really helped
    See more | Go to post

    Leave a comment:


  • Reading the File contents along with Wild characters

    Hi,

    I am trying to read the file contents using
    Code:
    System.IO.File.ReadAllText
    After reading the file contents the special charaters (รก) gets replaced with some garbage characters like "?".
    To elliminate this I have used encoding along with above method
    Code:
    System.IO.File.ReadAllText(strFile, System.Text.Encoding.ASCII)
    But still it is not working.Can anybody have the solution for this...
    See more | Go to post

  • amollokhande1
    replied to How to Fetch the node using stylesheet
    in XML
    Thanks a lot. It worked
    See more | Go to post

    Leave a comment:


  • amollokhande1
    replied to How to Fetch the node using stylesheet
    in XML
    Hi,

    I am not getting you. I am testing this stylesheet againt the xml using the transformation in Vb application which is not returning any xml data

    Regards
    Amol Lokhande
    See more | Go to post

    Leave a comment:


  • amollokhande1
    replied to How to Fetch the node using stylesheet
    in XML
    Ok, here is the stylesheet

    Code:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0">
      
    <xsl:template match="/">
    <xsl:call-template name ="GetPanelNode">
    </xsl:call-template>
    </xsl:template>
      
    <xsl:template name="GetPanelNode"
    ...
    See more | Go to post

    Leave a comment:


  • amollokhande1
    replied to How to Fetch the node using stylesheet
    in XML
    Sorry that was typo mistake

    Code:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0">
      
    <xsl:template match="/">
        <xsl:call-template name ="GetPanelNode">
         </xsl:call-template>
     </xsl:template>
      
    <xsl:template name="GetPanelNode"
    ...
    See more | Go to post
    Last edited by Dormilich; May 21 '09, 10:12 AM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • amollokhande1
    replied to How to Fetch the node using stylesheet
    in XML
    Hi,

    I have written following xslt but it is not returning me the required output

    Code:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0">
    	
    <xsl:template match="/">
    	<xsl:call-template name ="GetPanelNode">
    	</xsl:call-template>
    </xsl:template>
    ...
    See more | Go to post
    Last edited by Dormilich; May 21 '09, 10:05 AM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • amollokhande1
    started a topic How to Fetch the node using stylesheet
    in XML

    How to Fetch the node using stylesheet

    Hi All,

    I am having xml in following format
    Code:
    <Form>
    
    <Panel id="1" name="t1">
        <Field1/>
       <Field2/>
    </Panel>
    
    <Panel id="2" name="t2">
        <Field1/>
       <Field2/>
    </Panel>
    
    </Form>
    Now my requirement is to fetch the Panel node...
    See more | Go to post
    Last edited by Dormilich; May 21 '09, 09:57 AM. Reason: Please use [code] tags when posting code

  • Hey Thanks a lot. It worked.
    See more | Go to post

    Leave a comment:


  • Generating the XML with attributes using ADO.net

    Hi,

    I am using the sqldataadapter for generating the output of query in the form of XML. I have following sample query

    select FirstName,LastN ame from Users where userid='Amol'

    After fetching the data using sqldataadapter, I got the result in following format

    <Dataset1>
    <Users>
    <FirstName>Amol </FirstName>
    <LastName>Lokha nde</LastName>...
    See more | Go to post

  • Hi gits

    It is not working. If return ture even if we remove \ from the string Amol'Lokhande

    Regards
    Amol Lokhande
    See more | Go to post

    Leave a comment:


  • amollokhande1
    started a topic Searching string with regular expression

    Searching string with regular expression

    Hi,

    I have following string data

    Amol\'Lokhande. Now I want to search \' from the string.

    I have used following code

    Code:
    sValue="Amol\'Lokhande"
    var objRegex =new RegExp("\\\\'","g");
    sValue.search(objRegex)
    but still it is not working. Can anybody help me to resolve this problem.

    What will be the regular expression to search...
    See more | Go to post
    Last edited by gits; Jan 22 '09, 05:21 PM. Reason: use code tags instead of bold tags

  • Performance impact using N prefix while inserting the unicode data

    Hi,

    I would like to know whether is any performance impact on sql server while using N as prefix in the sql query. For instance if have used following query
    to insert the data in fields of CHAR, VARCHAR and TEXT datatype

    Insert into Globalization values(N'Amol', N'Amol',N'Amol' ,N'Amol',N'Amol ')

    then is there any issue or performance loop hole.

    Regards
    Amol Lokhande
    See more | Go to post

  • How to check whether the string is urlencoded or not

    Hi,

    Can anybody know how to check whether the string data is urlencoded or not?


    Regards
    Amol Lokhande
    See more | Go to post
    Last edited by Frinavale; Jan 13 '09, 08:02 PM. Reason: Moved from VB.NET to ASP.NET

  • Issue with System.Web.HttpContext.Current.Server.UrlDecode

    Hi,

    I am facing an issue while decoding the data using System.Web.Http Context.Current .Server.UrlDeco de

    If data contains "+" sign, it replaces it with " " space after decoding.

    Can anybody have the solution for this problem?

    Regards
    Amo Lokhande
    See more | Go to post
    Last edited by Frinavale; Jan 9 '09, 02:47 PM. Reason: Moved to ASP.NET From .NET

  • How to Invoke the .Net dll in the project without giving the actual reference

    Hi All,

    I am inprocess of writting the procedure, that will invoke any method from any .net dll.

    Requirement for this procedure is that dll will not be avaiable as a reference to the project.

    Can anybody tell me how to invoke the .net dll without giving the actual reference to the project?


    Regards
    Amol Lokhande
    See more | Go to post
No activity results to display
Show More
Working...