VB.Net or C#
10/22/2004 4:26:14 PM GMT
As I go through my daily ritual of job hunting, I have noticed that people are looking for C# experience. My question is, what is the big deal with C#, is it that much better than VB.Net? From the books I have read and the research I have conjured, it is basically the same thing, except for a few minor tweaks, style, and other tidbits. But why call it C#, at least to me it is nothing like C++ except for the usages of destructors and constructors; which is a little like get, set, and let; right. And it isn't like C++ because of the single inheritance, where C++ has multi-class inheritance. So, it sounds a lot like Java! Well it looks like Java and sometimes coding VB.Net or C# my college days kick in and I start coding Java. Though C# is much closer to Java than C++, to me the only language it is similar to is VB.Net. So why don't we just call it VB#. Nah, I do understand the reason for it though, C and C++ is very robust and very difficult and very large, so in my opinion C# is an excellent idea. I am sure the Microsoft corporate people really like it, plus like Java it is derived from C++, so eventhough its fraternal sister is VB.Net, it does make sense; but not for an indepth knowledge to get a job.
Site Administrator
ASP.Net 1.1 Form Validation Fix!
10/18/2007 11:17:33 AM GMT
I figured out the fix, though I probably did not invent it. To validate form data in ASP.Net 1.1 for a Firefox browser you need to do is trip the Validation Controls to the server, or behind the code, to force the Validation controls to be posted, yet not post if Not Page.IsValid. In ASP.Net Not Page.IsValid works, but does not in 1.1; thus the code below should replace the Not Page.IsValid!
Sub SubmitForm()
If txtFirstName.Text <> "" And txtLastName.Text <> "" Then
SaveDate() 'or any other tasks
Response.Redirect("ThankYou.aspx") 'the page is submitted then redirected
Else
litMessage.Text("Please fill in all the Values")
ExitSub
End If
The page is submitted, but exits the procedure if the fields are not filled. To test if the field has anything in it on the client, use the RequiredFieldValidator; to validate it as only a string, you may also use the CompareValidator or the RegularExpressionValidator.
Feel free if you have any questions to send me an email or post the question on this Blog.
Mozilla not Validated with .Net Form Validation
5/24/2005 12:07:31 AM GMT
Microsoft didn't bother creating the Validation Controls to work with anything but IE. I can't figure what is wrong with them, no wonder people hack their stuff so. But that doesn't mean you should do it to me! As you can see, I code for all browsers at least Mozilla and IE, so be nice.
I have been thinking about creating some Custome Web Controls or most likely some Server-Side Validation Classes that I can use it there place. I like the idea the MS has with the Validation Controls, but they only work with IE.
VB.Net For Now
2/15/2005 1:29:55 AM GMT
Looks like VB.Net for now! At my new position I will have the leeway to use either, but will stick more to VB.Net until milestones are met and I have the extra time to give C#.