Forum: Java Oct 14th, 2009 |
| Replies: 1 Views: 222 Hi there, please can some help with this very simple regex. I am coming from c# and trying to get up to speed quickly, so have been trying to create samples for my refrence, however can not get this... |
Forum: C# Jun 5th, 2009 |
| Replies: 2 Views: 696 Hi I am a little confused about interfaces.
Can an abstract class inherit an interface, so that interface can be used in conjunction of a class derived from the adstract?
eg A is an interface,... |
Forum: C# Jun 3rd, 2009 |
| Replies: 0 Views: 265 Hi I am currently writing a PAYE system for a HND project, some of you reading this may have already helped with some of the questions I have posted, and I thank you for the help. However, I have... |
Forum: C# Jun 2nd, 2009 |
| Replies: 2 Views: 659 Hi, I have a question a bout a data bound data grid.
The grid has 5 columns, the first of which is read only. I thought that setting the column to read only would prevent the user from being able... |
Forum: C# May 29th, 2009 |
| Replies: 2 Views: 2,082 Hi there thanks for the response. Sorry you were wright that was a typo. However I have solved the insert new problem, I was using the wrong class object.
However I now have an update issue that I... |
Forum: C# May 28th, 2009 |
| Replies: 2 Views: 2,082 Hi, I have a small problem, I am trying to insert a new row into a batabase table using linq to sql.
I have Microsoft publication on Linq but it was based on the beta of Linq and does not match... |
Forum: C# May 26th, 2009 |
| Replies: 1 Views: 258 Hi
I am woundering if anyone can help me please. I have a form that has been created during runtime. I can get the name of one control in the collection and want to access a number of other... |
Forum: C# May 22nd, 2009 |
| Replies: 0 Views: 251 Hi there, I have a question about Linq and casting from a var data type to list of a specific class.
A.)Is it possible, I thought that as Linq was IEnum that it would be simple to cast from the... |
Forum: C# May 21st, 2009 |
| Replies: 3 Views: 1,053 Hi....again :S
I have written this as the validation method, please could some one look at it for me and suggest any improvments. The ValidateDate method uses a try catch block to validate the date.... |
Forum: C# May 20th, 2009 |
| Replies: 3 Views: 1,053 Hi have been trying various things to get around the problem I have.
One option I have come acros is to interigate the contract table from the database and retreave all entries in the list for the... |
Forum: C# May 20th, 2009 |
| Replies: 3 Views: 1,053 Hi, I am hoping that someone can help.
I am trying to validate and compaire date entries made by a user.
The dates represent contract start and end dates. This has a one to many relation ship... |
Forum: C# May 17th, 2009 |
| Replies: 2 Views: 937 Hi i am having alot of trouble understanding how I can triger an event when a bool value changes.
I have a very vague understanding that i require a delegate to handle the event ???? and I need to... |
Forum: C# May 15th, 2009 |
| Replies: 2 Views: 437 Hi there sorry to have waisted your time have solved it...I think...lol pattern now reads
"^(BR|D0|NT)$|^(([Kk]{1}[1-9]{1}[0-9]{2,3}$)|([1-9]{1}[0-9]{2,3}[LPTYlpty]{1}$))"
Thanks for looking |
Forum: C# May 15th, 2009 |
| Replies: 2 Views: 437 hi...further info
have played about with the pattern slightly so that it is now
"^(/BR|D0|NT/{1}$)|^(([Kk]{1}[1-9]{1}[0-9]{2,3}$)|([1-9]{1}[0-9]{2,3}[LPTYlpty]{1}$))"
and the second part of... |
Forum: C# May 15th, 2009 |
| Replies: 2 Views: 437 HI, I am trying to construct a regEx pattern to match a UK tax code.
The pattern i have created is
"^(/BR{1}/|/D0{1}/|/NT{1}/)|^(([Kk]{1}[1-9]{1}[0-9]{2,3})|([1-9]{1}[0-9]{2,3}[LPTYlpty]{1}))"
... |
Forum: ASP.NET Apr 25th, 2009 |
| Replies: 1 Views: 446 Hi there,
I am hoping someone will be able to help me, I have a datagridview control bound to a linq data source on a parent page. The dataview has a select button col. When the user clicks the... |
Forum: C# Mar 25th, 2009 |
| Replies: 2 Views: 284 Hi there, you raise an interesting topic. I am relatively new to programming, as such I see a direct correlation between logical problem solving games and programming.
Chess for example has a... |
Forum: C# Mar 25th, 2009 |
| Replies: 1 Views: 2,460 Hi, I'm hopeing someone will be willing to help me with somthing that is probably quite simple.
I'm trying to bind a combobox to a data table, however it is supposed to be a foriegn key field, as... |
Forum: C# Feb 19th, 2009 |
| Replies: 4 Views: 993 Hi there thank you all for your input. I understand interfaces a bit better now, so thank you again.
Jon |
Forum: C# Feb 11th, 2009 |
| Replies: 4 Views: 993 Hi I am slightly confused about interfaces for an inheritance structure. Firstly can anyone explain there purpose, secondly can anyone demonstrate there use.
I have created an application that... |
Forum: C# Jan 17th, 2009 |
| Replies: 3 Views: 1,351 Thanks for the reply. Could you please explain what the
= ?
means, as have never come across it before, or have i miss read and i need to replace the ? with somthing else? |
Forum: C# Jan 17th, 2009 |
| Replies: 3 Views: 1,351 Hi I am having a slight problem with dynamically listing the methods of a selected class. The code I have written is:
private void ListMethods(ClassA aClass, ComboBox cmbMethods)
{
Type... |
Forum: C# Jan 17th, 2009 |
| Replies: 6 Views: 438 Hi
Thank you all for your time. and, with your help I have managed to solve the problem. |
Forum: C# Jan 16th, 2009 |
| Replies: 6 Views: 438 Hi thanks for your reply.
I am unsure what you mean by parent. All of the classes avalible to be selected by the user all use the same base abstract class. However the constructor of each changes... |
Forum: C# Jan 16th, 2009 |
| Replies: 6 Views: 438 Hi, I have I am trying to create a program for my lecturer, who has asked me to create an application containing a number of different class that all inherit from an abstract class.
This has been... |
Forum: C# Dec 4th, 2008 |
| Replies: 0 Views: 1,032 Hi, I hope some one can help me out. I am having difficulty returning the point location of an image control in a wpf app. The image is a child element of a canvas. The properties canvas.left and... |
Forum: C# Nov 5th, 2008 |
| Replies: 1 Views: 848 Hi
I'm hoping someone can help, I am trying to populate an array with image boxes (or whatever the wpf equivalent is referred to as), but I can not figure out how to define the array to be able to... |
Forum: XML, XSLT and XPATH Oct 28th, 2008 |
| Replies: 2 Views: 869 ok ty for your reply. It really was a newbi error :S |
Forum: C# Oct 19th, 2008 |
| Replies: 2 Views: 2,173 Hi
please can someone help? I have been pulling my hair out for days trying to understand how to open a XML data store in an application. I don't understand the basic principles, as i have opened... |
Forum: XML, XSLT and XPATH Oct 17th, 2008 |
| Replies: 2 Views: 869 Hi all,
I am trying to create an xml file and schema that can be oppened by a .net app. However when the app trys to read from the data set, nothing is being held. I think this may be due to an... |
Forum: ASP Apr 13th, 2008 |
| Replies: 0 Views: 844 Hi I am hopeing someone can help me with extracting and formating the time from an sql server datetime field. I have tried a number of different methods, all of which have returned a runtime error of... |
Forum: ASP Apr 2nd, 2008 |
| Replies: 1 Views: 772 Hi, I am hoping someone will kindly help me out. I am new to ASP and need to create a connection to an SQL server 2005 database.
I have failed misserably at web so far and is my worst subject on... |
Forum: VB.NET Feb 19th, 2008 |
| Replies: 4 Views: 3,942 just to clarify the code i want to condense is
Private Sub picA1_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles picA1.DragDrop
MovePiece(e,... |
Forum: VB.NET Feb 19th, 2008 |
| Replies: 4 Views: 3,942 Hi, i am having a bit of trouble condensing some basic drag and drop code and i am hoping that someone can help me. to reduce code i have created a subroutine to handle the proces, however i still... |
Forum: C# Dec 24th, 2007 |
| Replies: 4 Views: 8,582 Thank you for you reply....sorry it has taken me so long. The c++ has to be complied first? as i have never used it and did not realise i could call in somthing like that
Thanks again though. |
Forum: C# Dec 20th, 2007 |
| Replies: 4 Views: 8,582 Hi all,
I am hoping that someone will be able to point me in the correct direction. I am trying to print an error log (simple txt file) from a c# console application. I have created the txt file... |
Forum: C# Dec 13th, 2007 |
| Replies: 4 Views: 868 Thank you. I have been trying to work it out and had stumbled accros it by accident, but thanks for taking the time to look. |
Forum: C# Dec 13th, 2007 |
| Replies: 4 Views: 868 //struct class
/// <summary>
/// Summary description for Class employeeStructur.
/// This class holds the data structur for the records held within
/// the employee file, the backup of this... |
Forum: C# Dec 13th, 2007 |
| Replies: 4 Views: 868 Hi i am having difficulty passing the contence of a struct to a class. I have constructed the class without any errors. However when i try to pass the struct with just its name i get a not declaired... |
Forum: ASP Nov 30th, 2007 |
| Replies: 6 Views: 1,687 Thank you for the reply it has been very helpful.
Jon |