User Profile

Collapse

Profile Sidebar

Collapse
sarabonn
sarabonn
Last Activity: Jun 25 '10, 09:11 AM
Joined: Nov 18 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sarabonn
    started a topic ASP.NET and XMLwriter

    ASP.NET and XMLwriter

    Hallo Everyone,

    I am using visual studio 2005 asp.net vb. I am creating a XML document using the XMLwriter.The xml file creation no problem but the problem when i send the .xml file to another user they said the .xml file has some binary character in the beginning of the .xml document.

    they convert the .xml to Hex and saying that some binary character is there in starting of the xml document (i mean before the (<?xml...
    See more | Go to post

  • sarabonn
    replied to asp.net sql join
    Hallo Frinavale,

    I am having problem getting the data.. i need populate like this

    Now i have to populate resultset into gridview like this

    Date client city container charges

    26.04.10 testing hamburg 20 100 test1
    25.04.10 testing hamburg 40 100 test1
    25.04.10 newtester Bonn 40 150 sre
    25.04.10 newteste 20 200
    like this...
    See more | Go to post

    Leave a comment:


  • sarabonn
    started a topic asp.net sql join

    asp.net sql join

    Hallo Everyone,

    I am using sql dataset and tableadapter to fill data into the gridview using object data source. i have 3 database table

    statistik
    ------------
    date client container charges password
    26.04.10 testing 20 100 test1
    25.04.10 testing 40 100 test1
    25.04.10 newtester...
    See more | Go to post

  • sarabonn
    replied to UpdatePanel sessionstate
    Hallo Frinny,

    Now I have added everything in the Page_prerender event and working fine..

    Thank you for all your reply..

    May be if some problem resist in this session in future i will reply in the thread :-)..

    Dinesh.
    See more | Go to post

    Leave a comment:


  • sarabonn
    replied to UpdatePanel sessionstate
    Hallo Frinny ,

    Thank you for your reply. Its working partly. what iam doing now is on the page_init i am populating the default user and filterchange (when the user enter the username in the textbox iam storing it in a session variable). I am using the session variable in the page_load by overwriting the textbox value it works but only one time. visit the other page and come back the session variable perfectly the pervious value in the...
    See more | Go to post
    Last edited by Frinavale; Mar 30 '10, 03:36 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • sarabonn
    replied to UpdatePanel sessionstate
    Hallo Frinny,

    The problem is i shown above the populate the current user by give it on the page_Init so what ever i do i think when i visit the page it is populating the default value (bcos of the page_init).. Do you know some other way to check the page postback (i tired page.ispostback but no use bcecause of the page_init) or to populate the current user only when the user visit the page for the first time like that. do you any code...
    See more | Go to post

    Leave a comment:


  • sarabonn
    replied to UpdatePanel sessionstate
    Hallo Frinny,

    I don't want to take the value to the next page. The thing the value in the textbox should be stay as it is. the value's is just to sort the gridview and in the next page the data come's from the database. for the first time when the page is loading it check the default user and load the data of that user. After that when the user gives some other input to the textbox it filter according to that but the problem is the...
    See more | Go to post

    Leave a comment:


  • sarabonn
    replied to UpdatePanel sessionstate
    Hallo Frinny,

    Thank you for your reply. Actaully the problem not with the response redirect i think because the gvliste(gridvie w) nothing to store. I have a updatepanel which have 3 text box for the user to enter the value. When the user enter the value in the gridview it's filter according to the user input and displayed.

    Or is this could be the problem ?.. I have a Page_Init in that i looking for the Http.context.us er.identity.nam e...
    See more | Go to post
    Last edited by Frinavale; Mar 30 '10, 01:27 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • sarabonn
    started a topic UpdatePanel sessionstate

    UpdatePanel sessionstate

    Hallo everyone,

    I am using a VS 2005 and aspx.vb. i have a updatepanel with some textbox. So when the user the enters the data it filter's from sql table according to that and fill the gridview below the update panel. The gridview has a edit option.

    Now iam redirecting to another page as shown below in the selectedIndexch anged when the user click the edit button
    Code:
    Protected Sub gvListe_SelectedIndexChanged(ByVal
    ...
    See more | Go to post
    Last edited by Frinavale; Mar 26 '10, 07:33 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • sarabonn
    started a topic windows threading timer in windows service vb.net
    in .NET

    windows threading timer in windows service vb.net

    Hallo everyone,

    I am using vs 2005 with vb.net. I want to run a windows service once a day automatically. I used the threading timer and it runs perfect for the first and does not run automatically everyday. i kept the timedelay 360000 * 24 so that after the service first time start it will calculate 1 day time.. here is the code

    Private Timer1 As System.Threadin g.Timer
    Private Const Timedelay As Long = 3600000...
    See more | Go to post

  • sarabonn
    started a topic problem in <, > symbol VB.NET
    in .NET

    problem in <, > symbol VB.NET

    Hallo everyone,

    I have a text(paragraph) which is exported as word document. The problem is i add this to the text for formatting "<w:p wsp:rsidR='006A 77CB' wsp:rsidRDefaul t='0071725D' wsp:rsidP='006A 77CB'><w:r><w:r Pr><w:rFonts w:ascii='Arial' w:h-ansi='Arial' w:cs='Arial'/><wx:font wx:val='Arial'/></w:rPr><w:t></w:t></w:r></w:p>". Now if the add want to remove these...
    See more | Go to post

  • sarabonn
    replied to windows service timer
    in .NET
    Hallo everyone ,

    i have also tried using system.timers.t imer event handler and tried but nothing work out ..

    Protected Overrides Sub OnStart(ByVal args() As String)

    timer1 = New System.Timers.T imer(60000)
    AddHandler timer1.Elapsed, AddressOf OnTimedEvent

    End Sub

    Public Sub OnTimedEvent(By Val source As Object, ByVal e As Timers.ElapsedE ventArgs)...
    See more | Go to post

    Leave a comment:


  • sarabonn
    started a topic windows service timer
    in .NET

    windows service timer

    Hallo Everyone,

    Iam using VB.NET with visual studio 2005. I have created a windows service which reads a .xml file and send a email. without any timer i installed the windows service it works fine but i added a timer and now not working. I want to check the time is for example 09:15 am and then send email everyday at that time .. my code in the Onstart is

    Protected Overrides Sub OnStart(ByVal args() As String)
    ...
    See more | Go to post

  • sarabonn
    started a topic word structure in vb.net
    in .NET

    word structure in vb.net

    Hallo everyone,

    Iam creating a word document with some text from the textbox. The problem i have is iam using the below code

    Text = Text & "<w:p wsp:rsidR='006A 77CB' wsp:rsidRDefaul t='0071725D' wsp:rsidP='006A 77CB'><w:pPr><w :jc w:val='right'/></w:pPr><w:r><w:r Pr><w:rFonts w:ascii='Arial' w:h-ansi='Arial' w:cs='Arial'/><wx:font wx:val='Arial'/><w:sz w:val='20'/></w:rPr><w:t>"...
    See more | Go to post

  • sarabonn
    replied to check Empty DataList
    Hallo Semo,

    I Datasource i use the DatasetTableAda pter in the asp datasource tag as shown below

    Code:
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
                SelectMethod="GetData" TypeName="DataSetComplianceTableAdapters.DataTable1TableAdapter">
                <SelectParameters>
    ...
    See more | Go to post
    Last edited by Frinavale; Mar 3 '10, 02:33 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • sarabonn
    replied to check Empty DataList
    Hallo Semo,

    i did like that semo but still no output. here is my code
    Code:
    [Protected Sub btnSuchen_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSuchen.Click
            dlErgebnis.DataBind()
            If dlErgebnis.Items.Count <= 0 Then
                lbdata.Visible = True
                lbdata.Text = "Keine datei"
            Else
                lbdata.Visible = False
    ...
    See more | Go to post
    Last edited by Frinavale; Mar 3 '10, 02:33 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • sarabonn
    replied to check Empty DataList
    Hallo Semo,

    This my aspx code.
    Code:
    <div id="Eingabe" runat="server">
            <p>Firma oder Person: </p>
            <asp:TextBox ID="tbSuchstring" width="400px" runat="server" />
            <asp:Button ID="btnSuchen" runat="server" Text="Suchen" />
            <asp:CustomValidator ID="CVtbSuchstring"
    ...
    See more | Go to post
    Last edited by Frinavale; Mar 3 '10, 02:32 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • sarabonn
    replied to windows Service vb.net
    in .NET
    Hallo tlhintoq,

    Thank you for your reply. Actually i have a configuration file in which the email is stored and when the service run it reads the .xml file and send the data to the same email id everytime. Now what i need to do is suppose if the user need to run the windows service and send the xml data to someother email id ?.. That's why i thought some textbox when the service is right clicked and and the value of the textbox i can...
    See more | Go to post

    Leave a comment:


  • sarabonn
    started a topic windows Service vb.net
    in .NET

    windows Service vb.net

    Hallo Everyone,

    I have created a windows service which reads the .xml data and send email once a day automatically using vb.net. works fine. Now i would like to send configure my windows service by manual changing the email id (for example get a email id from the text box in the properties or just a right click menu). Is it possible to do so ?..

    Thank you..
    See more | Go to post

  • sarabonn
    replied to check Empty DataList
    Hallo semo,

    Thanks for your reply. I have a problem again. if i put this code

    Code:
     dlErgebnis.DataBind()
            If dlErgebnis.Items.Count <= 0 Then
                lbdata.Visible = True
                lbdata.Text = "Keine datei"
            Else
                lbdata.Visible = False
            End If
    in datalist_load it works but when i put the code in the button_click it doesn't show the...
    See more | Go to post
    Last edited by Frinavale; Mar 3 '10, 02:35 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:

No activity results to display
Show More
Working...