User Profile

Collapse

Profile Sidebar

Collapse
Proogeren
Proogeren
Last Activity: Sep 13 '08, 08:05 AM
Joined: May 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Proogeren
    started a topic C# winform: Filter on DataTable in DataGridView
    in .NET

    C# winform: Filter on DataTable in DataGridView

    I have made a service that sends a datatable with person information to a client. In the forms init event I call the service to retreive all persons from my service and displays them in a datagridview.

    In the form I want to be able to filter on e.g. first name. I have used the select method to filter on the datatable but it only returns datarows and not datatable which I need to set as datasource in my datagridview.

    ...
    See more | Go to post

  • HttpWebRequest problem with WWW-authenticate header

    I have a problem with a httpwebrequest that I am creating. The request in itself looks correct but using fiddler I see that a www-authentication header is sent along as well. The code is pasted below. I do not add any www-authentication header here so I was wondering if anyone knows how to remove it.
    I have used almost 2 days trying to figure this out so help would be highly appreciated.

    CORRECT
    No proxy-authenticate...
    See more | Go to post

  • Proogeren
    replied to Http Request upload file
    in .NET
    Yes I figured out ;) But I am struggeling a bit figuring out how I can add the
    <input type="hidden" name="accesstok en" value="fdsgsdfD GFdsfsd" />
    <input type="hidden" name="username" value="arnmob" />
    <input type="hidden" name="password" value="123" />

    parameters to the HttpWebRequest request...
    See more | Go to post

    Leave a comment:


  • Proogeren
    started a topic Http Request upload file
    in .NET

    Http Request upload file

    I have created a web application that allows the user to upload a file to the server. This works, but I also want to be able to use this from a application form. Could anyone please tell me how this can be done? Point me in the right direction

    Below is my working code for my aspx page
    [code=asp]
    <form id="form1" onsubmit="retur n Validate( this )" name="form1" method="post" ...
    See more | Go to post
    Last edited by Frinavale; Jul 10 '08, 01:58 PM. Reason: added [code] tags

  • Proogeren
    started a topic C# Application File Upload to WCF Service
    in .NET

    C# Application File Upload to WCF Service

    I have a form application that allows the user to add files to a panel using the OpenFileDialog control. The user can select some/all files in the panel and upload this to the wcf service.

    No if the user selects 30 files the application will stop working as the user is waiting for the upload of files to finish.
    To avoid this I was thinking to let the upload of files continue in a seperate thread. Does anyone have any views if...
    See more | Go to post

  • Hi

    Yes I know it seems pretty easy but that is because I (as I said) made another xml to illustrate the problem.

    In this case I can create templates and solve it this way
    .
    My problem is that I have 500 elements nested and I can not write a mapping for all my elements. That would take forever. So I just wanted another fast way of doing it.

    Is there any program that generates a all the templates...
    See more | Go to post

    Leave a comment:


  • create xml copy of parts of an xml document using xslt

    Hi
    I would like to use xslt to modify and xml document that I have.
    I have created a new xml to make it more easy to explain my problem
    The xml I have looks like this;

    <?xml version="1.0"?>
    <Company name="AVB">
    <Id> Reed </Id>

    <Persons>

    <Person type="2">
    <Lang> 1 </Lang>
    <Name>...
    See more | Go to post

  • Proogeren
    started a topic C# from html table to excel charset
    in .NET

    C# from html table to excel charset

    I am writing a html tabel to a excel file. This works great
    however Im not getting the norwegian chars "æ ø å" in the filename of the excel
    file
    These 3 letters are translated into some crazy looking chars :)

    Code:
    Response.Charset = "";            
    Response.ContentType = "application/vnd.ms-excel";
    Response.AddHeader("Content-Disposition", string.Format("attachment;
    ...
    See more | Go to post

  • Proogeren
    started a topic C# FileUpload width property not working in FF
    in .NET

    C# FileUpload width property not working in FF

    While using the FileUpload control in firefox the width property is not set.

    <asp:FileUplo ad ID="dd" runat="server" width="300px" />

    In firefox the control is rendered as following
    <input type="file" name="ctl00$Con tentPlaceHolder 1$dd" id="ctl00_Conte ntPlaceHolder1_ dd" style="width:30 0px;" />

    Anyone know why width...
    See more | Go to post

  • Proogeren
    replied to loout function
    in .NET
    solved with

    Code:
    
                Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1));
                Response.Cache.SetCacheability(HttpCacheability.NoCache);
                Response.Cache.SetNoStore();
    in my master page's Page_Load event :)
    works in both FF and IE...
    See more | Go to post

    Leave a comment:


  • Proogeren
    replied to loout function
    in .NET
    nope does not have caching..
    hmm...
    See more | Go to post

    Leave a comment:


  • Proogeren
    started a topic loout function
    in .NET

    loout function

    I have a master page that contains a logout button. If you click this a session value is set (using https so sessions are ok). My problem is that if I press the logout button I redirect the user to another location. All good. but if I click the back button in the browser I can see the previous page. Page_Load is not triggered in my masterpage so I can not see if the session value allows the user to see the page or not..

    What can be...
    See more | Go to post

  • Proogeren
    started a topic ajax updatepanel
    in .NET

    ajax updatepanel

    Hi
    I have a master page with a Label

    I also have aspx page with a button inside a updatepanel.
    When the user clicks the button on the aspx page I want the label on the master page to be updated.
    how can I do this
    See more | Go to post

  • Proogeren
    started a topic windows service mysql problem
    in .NET

    windows service mysql problem

    Hi
    I have a service that seems to work fine but somethimes crashes on mysql operations.
    I get errors like
    Code:
    System.NullReferenceException: Object reference not set to an instance of an object.
    although the query performed is totaly legal...
    Could this be a problem with the threading? If the service is run every 20 sec asd a cycle takes more or less 4 sec this should be a problem or?
    See more | Go to post

  • Proogeren
    replied to windows service in C#
    in .NET
    hm service sleeps for 5 seconds..
    But I had timer.setInterv al=0 in my updatetimer_ela psed method. I did this to stop the service when an error occured...
    Now I replaces this with calling the OnStop method when an error occurs..
    Maybe this is was the problem...

    [Additional info] Well my timer is only set to 5 sec and terminated before that. But all errors that can occur in my program will be caught if I have a try...
    See more | Go to post
    Last edited by SammyB; Jul 26 '07, 12:18 PM. Reason: Added info sent with report button

    Leave a comment:


  • Proogeren
    started a topic windows service in C#
    in .NET

    windows service in C#

    Hello

    I have made a windows service in C#

    When I stop the service under Computer Management | Services I get an error that the service could not be stopped. This occurs not all the time.

    While debugging no exceptions seems to appear, so Im having a hard time figuring out whats wrong.

    Is there a way to detect where an error occurs on a high level?

    help appreciated
    See more | Go to post

  • Proogeren
    started a topic C# service
    in .NET

    C# service

    Hello
    I have created a service that run every 1 minute.. In UpdateTimer_Ela psed I do some database stuff...
    I was wondering what will happen if the UpdateTimer_Ela psed takes more then 1 minute to finish?
    My service use db, so if two instances of the program run at the same time my program will crash.

    Can anyone explain me this

    tnx
    See more | Go to post

  • Proogeren
    replied to Multiselect in a listview (VB6)
    wont work. i want a drag and drop feature like winamp :)...
    See more | Go to post

    Leave a comment:


  • I got it to work. I had to take group by r.resourceId and not ur.resourceId

    thanks alot...
    See more | Go to post

    Leave a comment:


  • Hi
    this did not work in my case. it I have 6 empty fields and it only returns one of them....

    Table User_Resource
    UserResourceId int(11)
    ResourceId int(11)

    Table Resource
    ResourceId int(11)


    Table Resource contains 15 resources and only nine of them have been downloaded. But I only see 10 of them in my list. Plz help...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...