Forum: C# Jul 28th, 2009 |
| Replies: 0 Views: 1,575 Hi.
I have a problem when trying to embed pictures to an email. It works fine on windows server and the email is shown correct but when I try to put it in production which runs on Linux (mono 2.4)... |
Forum: C# May 15th, 2009 |
| Replies: 3 Views: 529 Thanks.. Ofcourse I should have asked in the asp.net section.. :) |
Forum: C# May 14th, 2009 |
| Replies: 3 Views: 529 Hi..
I am trying to update a webcontrol on a main site from a usercontrol but how can this be done.
Let's say I want to update an asp:textbox from a usercontrol on the page, but how is this... |
Forum: C# Nov 16th, 2008 |
| Replies: 7 Views: 845 Forget the exception, forget the check on the length of the individual parameters. What I'm asking is if it is nessesary to check the length of the incomming parameter to the function before using... |
Forum: C# Nov 15th, 2008 |
| Replies: 7 Views: 845 Yes I want to secure that a value is no longer than the maximum chars in the db column. Ex varchar(30) for instance.
I could do it like this
if (pFirstName.length > 30) {
Continue.. }
else{... |
Forum: C# Nov 15th, 2008 |
| Replies: 7 Views: 845 Thank you.. I know that I can test it inside but if I want to use the parameters directly into the sqlstring then its not that practical. But you say that I don't have to. But after inserting the... |
Forum: C# Nov 15th, 2008 |
| Replies: 7 Views: 845 Hi there,
I'm wondering whether one of you could clarify how to define the maxlength in bits when inserting a parameter in a stored procedure f.ex. What I might do is something like this:
... |