23 Discussion / Question Topics

Remove Filter
Member Avatar for ChrisHunter

I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of `<script>debugger;</script>` tags in the db. Dispite my best efforts, the strings I've encoded to stop the debugger getting hit (to prevent an XSS attack), are still getting hit in developer tools. Is …

Member Avatar for ChrisHunter
0
839
Member Avatar for ChrisHunter

What is the best way to get the object, within a list of that object type, that has the highest ID number? I've been trying to figure it out and I can manage to get the highest ID number but not the object containing that ID number. Any help would …

Member Avatar for Ketsuekiame
0
241
Member Avatar for ChrisHunter

I haven't been very active over the last couple of months but I posted a few times before I went to Orlando, Fl for 2 weeks and as the old cliché I went on holiday and everything has changed!. I only had a quick look but I have to say …

Member Avatar for Dani
2
202
Member Avatar for ChrisHunter

Is there a way to remove blank worksheets from an excel report that is generated in SSRS? I've done some research and i could find solutions such as removing blank rows and even entire sheets but only via marcor's in excel, which won't work in my case as the report …

Member Avatar for ChrisHunter
0
1K
Member Avatar for ChrisHunter

I don't know if this has been raised before or if the folder images on the left of the main page are supposed to do this but I clicked on the folder image to the left of "C#" and the folder turned grey but didn't take me to the C# …

Member Avatar for ChrisHunter
0
146
Member Avatar for ChrisHunter

I'm reading through a C# coding standards document and come across a section that reads as follows: * Try to prefix Boolean variables and properties with "Can", "Is" and "Has". Can anyone give me an example of hows it's done or maybe a useful link on the subject please ? …

Member Avatar for Kru
0
223
Member Avatar for ChrisHunter

Now then, It's not often I start a thread but I'm struggling to find the answer after a lot of tries on Google. The issue is that I have a "Profession" comboBoxCell as well as a "Discipline" comboBoxCell which is populated/ repopulated with a short list of disciplines dependent on …

Member Avatar for james6754
0
2K
Member Avatar for ChrisHunter

Does anyone own a set of [these](http://www.ebuyer.com/370669-tp-link-tl-pa411kit-av500-mini-powerline-adapter-stater-kit-tl-pa411kit) TP-Link Mini Powerline Adapter or any powerline adapters for that matter ? I'm looking at getting a set to save trailing wires around the house and pulling up carpets to lay them. I've read the review from eBuyer but just wanted to see …

Member Avatar for rubberman
0
154
Member Avatar for ChrisHunter

I wasn't quite sure where to post this so I thought considering SSRS in VS 2005 produces XML scripts i thought this would be the best forum. I have a table grouping which produces a number of tables using the same section of xml code. Due to this the problem …

0
120
Member Avatar for ChrisHunter

I was wondering if there is a way to open an SQL file and execute it from a c# application without prior connection to a database and also get the name of the default server that is used when SSMS is opened. at the moment i can open SSMS but …

Member Avatar for ChrisHunter
0
234
Member Avatar for ChrisHunter

I just got an error when I clicked on the tutorials tab on the ASP.NET page, is this just something to do with my settings or is it an issue ? Cheers

Member Avatar for Dani
0
178
Member Avatar for ChrisHunter

I'll keep this one short, My girlfriend is on her second laptop were as i'm still on my first. She has an ASUS (i'm not sure of the model) and she's always leaving it on the floor next to the bed and falling asleep with it on her knee so …

Member Avatar for ChrisHunter
0
242
Member Avatar for ChrisHunter

i made a group on here but i don't know how the create a thread on it or how to delete the group . . . anyone know how to do either ?

Member Avatar for Dani
0
73
Member Avatar for ChrisHunter

I've been a customer of BT for well over 10 years now and had an internet package with them since the days of dial-up. However i've had problems with my connection dropping out sometimes for days at a time and during importent periods such as MS exam prep and uni …

0
149
Member Avatar for ChrisHunter

Hi, i'm tryin to use windows authentication to log into an application i have made. I have already worked out how to get the username but i can't figure out how to get the password too. Is this possible ? if so can anyone suggest any ways to do this …

Member Avatar for ChrisHunter
0
124
Member Avatar for ChrisHunter

Hi, i'm having a problem trying to print out a list of strings. i can get them to print out using rectangles successfully but when the bottom of the page is reached it wont go onto the next page, instead it just stops printing. I've done this so far which …

Member Avatar for ChrisHunter
0
950
Member Avatar for ChrisHunter

Hi, i'm trying to implement a print function and i can print a single string out but i'm having trouble configuring the page setup properly, mainly moving to a new line when the margin of the page is reached and moving to a new lines for each string in a …

Member Avatar for ChrisHunter
0
160
Member Avatar for ChrisHunter

Hi my problem is that i'm making a mobile app and i need to seperate the following string: ChrisHunter21 into: Chris Hunter 21 What is the easiest way to do this in J2ME ? i had a look at the Ostermiller one but didnt understand it. Thanks Chris

Member Avatar for peter_budo
0
219
Member Avatar for ChrisHunter

Hi, At the moment i'm trying to locate xml files to use their content. I would like to be able find all files that have a particular pattern in their name (for example student_James.xml; student_Chris.xml so "student" would be the pattern). I want to be able to do this using …

Member Avatar for gusano79
0
192
Member Avatar for ChrisHunter

Hi i keep getting an exception when i'm trying to update table values within a database. the exception is below but i dont change from datetime to varchar it always stay as datetime. is there any other reasons why this is happening ? "The conversion of a varchar data type …

Member Avatar for ChrisHunter
0
181
Member Avatar for ChrisHunter

Hi, Could anyone tell me the best way to implement a propertygrid? currently I'm doing it like this but I'm having truble setting the value of the private variable with the values returned but a single SqlDataReader: [CODE] [DefaultPropertyAttribute("ObjectTypeID")] public class ObjectType { private int _objTypeID; private int _stateType; private …

Member Avatar for lolafuertes
0
564
Member Avatar for ChrisHunter

Hi i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box. Currently i am creating …

0
205
Member Avatar for ChrisHunter

Hi I'm pritty new to C# I'm having trouble with items repeating in a combo box This method gets the values from my table and stores it in the list of strings which it does fine . . . I think. [CODE]public class EditStates { public List<string> getStates(CEditStates ced) { …

Member Avatar for lolafuertes
0
214

The End.