User Profile

Collapse

Profile Sidebar

Collapse
StefanPienaar
StefanPienaar
Last Activity: Jul 17 '08, 09:19 AM
Joined: Nov 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Haha, nevermind. I found the problem with my code. The "Id" field does not exist and it should be "IdNo", it now works just as expected.

    Stefan
    See more | Go to post

    Leave a comment:


  • StefanPienaar
    started a topic [C#] RowFilter On DataView, Grouping...
    in .NET

    [C#] RowFilter On DataView, Grouping...

    Hi, I have a rather big DataTable which is filtered by using a DataView and it's RowFilter property.

    At the moment we have a rather complex user control which generated a where statement for the data. The output given is something along the lines of:

    "ID Like '%123' AND Name Like '%Stefan%' OR ID Like '%456' AND Name Like '%Test%'"

    What I would like to do is group the statements for example:...
    See more | Go to post

  • [C#] Selecting From a DataSet with multiple DataTables

    Hi Guys

    Is there any way in c# (or vb.net) to extract a datatable of data from a dataset with multiple datatables which has relationships set up (containing combined data from the datatables)?

    I currently have 2 datatables in the dataset. The first one contains the header records with columns such as Id, DateCreated, DateModified, etc

    The second datatable contains the detail records and has columns such...
    See more | Go to post

  • [C# - VS 2008] Calling webmethod asynchronously from ASP.net 3.5

    Hi

    I was recently given the task of converting an Asp.net 1.1 portal to Asp.net 3.5.

    The problem is it includes a webservice and a lot of the methods are called asynchronously. Now in .net 1.1 the stub creates the .Begin[methodName] and .End[methodName] methods for you and in Asp.net 2.0 it creates the .[methodName]Asyn method when you create a reference to the webservice.

    It seems that 3.5 does not use...
    See more | Go to post

  • I can't believe nobody has had this issue? Just point me in the right direction here :D

    Stefan
    See more | Go to post

    Leave a comment:


  • ---------------------------------------------------------------------------
    bump :)
    See more | Go to post

    Leave a comment:


  • [C# - VS 2008] Calling webmethod asynchronously from ASP.net 3.5

    Hi

    I was recently given the task of converting an Asp.net 1.1 portal to Asp.net 3.5.

    The problem is it includes a webservice and a lot of the methods are called asynchronously. Now in .net 1.1 the stub creates the .Begin[methodName] and .End[methodName] methods for you and in Asp.net 2.0 it creates the .[methodName]Asyn method when you create a reference to the webservice.

    It seems that 3.5 does not use...
    See more | Go to post

  • StefanPienaar
    replied to VS Deployment of web application
    in .NET
    Hi

    1. Download/Buy an obfuscator which removes the .net header from your application (thus apps such as reflector cant reverse it.)

    2. Read it from an external text file or the registry, just make sure to encrypt/decrypt it if it contains sensitive information.

    Stefan
    See more | Go to post

    Leave a comment:


  • StefanPienaar
    replied to Change Height of textbox in vb.net2005
    in .NET
    I think the only other way to increase its height is to increase the size of the font used. There might be other ways besides that and setting it to multiline but I'm dont know of any
    See more | Go to post

    Leave a comment:


  • Visual Studio - Setup Project unable to uninstall

    Hi

    I'm getting some really weird and unexpected behaviour when I build a setup project in Visual Studio 2005 containing an application I wrote.

    The installation runs fine and the application work 100%, BUT... As soon as the original setup files (the setup.exe and setup.msi) are delete or no longer available (Cd is ejected) the application refuses to run. It also does not want to uninstall using the Add/Remove dialog...
    See more | Go to post

  • StefanPienaar
    replied to Serial Key Algorithm
    in .NET
    Hi, thanks, I will have a look at that.

    Just one question: Isn't hashes just one way? What I mean is you can create the encrypted string, but there is no way to decrypt it again. I'm not too sure but I think I read that somewhere while trying to find a solution for my problem.

    I will however have a look at those namespaces and report back here if I get anything working.

    Thanks again
    Stefan
    See more | Go to post

    Leave a comment:


  • StefanPienaar
    started a topic Serial Key Algorithm
    in .NET

    Serial Key Algorithm

    Hi Everyone

    Ok I really can say that I did first try and get an answer for this by googling a whole day long and I still couldn’t find what I’m looking for.

    I will be releasing an application shortly which will be used by a few users (less than say 200) but I need a way to protect it and force the user to renew his subscription once his license expires a year after purchasing it.

    What I had in mind...
    See more | Go to post

  • StefanPienaar
    replied to Like clause
    Hi Jim

    Thanks for the quick response but I've opted to rather fill my grid with the entire recordset and then filter it programmaticall y with c# using a dataview.

    Thanks.
    Stefan
    See more | Go to post

    Leave a comment:


  • StefanPienaar
    replied to Like clause
    Hi Denburt

    Thanks for the reply but the results are the same :(
    See more | Go to post

    Leave a comment:


  • StefanPienaar
    started a topic Like clause

    Like clause

    Hi

    I have a windows application with an Access database where I execute the following:

    cmd.CommandText = "SELECT Id FROM Users WHERE surname LIKE \"p*\"";

    I'm trying to find all users who's surname starts with "P".

    When I fill a dataset using the above no results are returned but when I take that exact string and run it directly in Access it returns the correct...
    See more | Go to post

  • StefanPienaar
    replied to W32.Arpiframe virus
    Thanks for the replies. It's a huge network with multiple computers in various offices on two different floors of the building.

    I have installed a packet sniffer but it seems that the webpages are working fine today (no B's) so I guess which ever computer is causing it is still offline.

    Thanks for the help

    Stefan
    See more | Go to post

    Leave a comment:


  • StefanPienaar
    replied to W32.Arpiframe virus
    Hi

    We've recently started having the same problem on our production server. Whenever someone would access any website/webpage from the server, the returned html would have a string of B's injected right before the <html> tag.

    I've googled and it seems to be this W32.Arpiframe virus which is causing it. Can anyone tell me how I can remove it without Norton? We've tried installing a new version of norton but as expected...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...