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
User Profile
Collapse
-
[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:... -
[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... -
[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... -
I can't believe nobody has had this issue? Just point me in the right direction here :D
StefanLeave a comment:
-
---------------------------------------------------------------------------
bump :)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... -
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.
StefanLeave a comment:
-
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 anyLeave 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... -
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
StefanLeave a comment:
-
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... -
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.
StefanLeave a comment:
-
Hi Denburt
Thanks for the reply but the results are the same :(Leave a comment:
-
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... -
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
StefanLeave a comment:
-
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...Leave a comment:
No activity results to display
Show More
Leave a comment: