Forum: C# Mar 28th, 2008 |
| Replies: 23 Views: 21,548 It's just a preference. I like things to be as loosley coupled as possible. I prefer to bind to collections of objects, rather than strongly typed datasets. Like most things it depends on what your... |
Forum: C# Mar 27th, 2008 |
| Replies: 23 Views: 21,548 Oops perhaps you are doinf a Forms project not a web project.
I have started a forms project and I can't get the binding source to use the new query either yet. I am too tired at the moment.
... |
Forum: C# Mar 27th, 2008 |
| Replies: 23 Views: 21,548 The query has the single column you want 'Expr1' bind the textbox to that.
I am not very knowledgeable with BindingSources I am afraid, I don't like them. I prefer to have simple business objects.... |
Forum: C# Mar 26th, 2008 |
| Replies: 23 Views: 21,548 SELECT Name + '\n' + Street + '\n' + ZipCode +'\n' + City
FROM Customers
WHERE (CustomerID = @1)
This assumes none of the columns allow NULLS. Otherwise you will need to use ISNULL(name, '') +... |
Forum: C# Jan 24th, 2008 |
| Replies: 8 Views: 1,016 Well UI Design is not specific to any platform really. But what about this?
http://msdn2.microsoft.com/en-us/library/aa350483.aspx |
Forum: C# Sep 28th, 2007 |
| Replies: 2 Views: 2,342 No. The dll is one or more compiled .cs files, it is a class library. Microsoft calls them assemblies because they are different to the old style COM dll's where a .tlb (type library) also had to be... |
Forum: C# Jul 21st, 2006 |
| Replies: 17 Views: 93,790 Absolutely right , typo on my part tut tut.
Encryption thpt no idea not something I've really ever done i'm afraid. |
Forum: C# Jul 21st, 2006 |
| Replies: 17 Views: 93,790 Easy. this should work, you just need a static class:
Add a new class.cs file to the project and stick something like this in it.
static class GlobalClass
{
private string... |