|
Silly answer, but very much true: vb.net is WORDY as he#$. I can easily identify different blocks of code in a c# document thanks to the symbol usage, but not in vb (IF... ENDIF... what's up with that?!?). Also, its syntax is close to c++ and java, so it keeps my skills functional on all those languages. Besides, if you want to be a "marketable" programmer, stick with c#, they get more/better opportunities.
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
This is an age old debate and there are countless examples of this debate on the internet.
my advice to you, is that both languages use the .NET framework, so
in essence niether are any better than each other. At the end of the day the language choice is that of the developer as to what syntax they prefer.
I personally use both on a daily basis, and don't really care which one I use. It is up to the client as to which one they prefer to support and what skills they have in house to support the application.
|
|
|
|
|
Hi,
I have a datagrid and I also have Edit command by which I
am editing the data present in the datagrid. I have bound
my columns with the help of BoundColumn.
While Update, I want to validate the contents in the
textbox and want to use validators but since there is no
text box control (as asp.net internally generates Text box
by default) which I can specify in validator, how to
validate?
|
|
|
|
|
nabeelkhan wrote:
(as asp.net internally generates Text box by default
Its no magic.
If you look at the HTML source of your .aspx file, you will see a EditItemTemplate where a textbox is defined.
You can add your validator in that template so that it is added to the HTML when user presses Edit button.
Shreekar
http://shreekarishere.blogspot.com
|
|
|
|
|
Hi,
i have textboxces in datagrid control now i want to validate these textboxces through javascript fucntion ,,kindly help me in this above regard
waiting for ur resposes
|
|
|
|
|
u can use validators like Regular expression validator etc in asp.net
|
|
|
|
|
Hi friends !
I tested my aspx page on local host and its perfectly running. I host that page in the Internet,and when I tried to open that aspx page It shows an error message ie Server'\'error......
Even I upload all supporting files such as bin global.aspx web config....etc
please help me friends
demane'
|
|
|
|
|
HI
First check which version of asp.net u r using either asp.net1.1 or asp.net2.0.
check your webserver on internet supports your asp.net version.if its correct everything work fine..
Regards
R.Palanivel
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
On ur webspace where u are uploadiong the site check that ur hosting service providers have enabled asp.net for ur website or not if not then change ur web hosting settings and enable it
|
|
|
|
|
I have an asp image upload control in my project , and i can't able to upload images more than 4kb size. What i should do to upload images up to 6kb.
Thanks in advance.
Regards
sundarapandian
|
|
|
|
|
I used the FileUpload control and its working with all images sizes
keep Learning and you never will be out of date...
|
|
|
|
|
Thanks for ur reply,
but the size is 4mb not 4kb as i mentioned in previous post.
u cant upload a image more than 4 mb in size.
|
|
|
|
|
Hello all.
I am working on asp.net 2005, the solution is wroking fine in local machine but when I copied pages in web hosting server its giving some exception, i was not ably to see the exact exception because in webserver its send to specific page if found any error.
I removed the line where I was creating object of other class and then copied to web and it works fine.
So is there is any specific way for creating object of other class in aspx 2005.
|
|
|
|
|
Something as simple as creating an object should not cause problems! In order to properly troubleshoot this, you have to see the exception... in your web.config change your custom error tag to the following:
<customerrors mode="RemoteOnly">
You may have other elements/attributes associated with your customErrors, but you should be able to get the idea. Now, you should be able to see the actual exception ONLY when you access the application from the hosting server. Also, check your event viewer to see if asp.net has logged any application errors/warnings.
I got a couple of questions, did you precompile your web project? Did you send over the Website, or the whole solution?
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
few company use cruise control open source but i want to what is it actually and in which situation i have to use it.
what is the advantage of using cruise control with .net.
tbhattacharjee
|
|
|
|
|
basically there is huge hype about hibernate.so i want to use it.any body can is there a any tutorial for hibernate
which guide me in such a way as a result i can work with hibernate.is it ORM.
tbhattacharjee
|
|
|
|
|
wat r the diff types of webserver other than
APACHE and IIS..
|
|
|
|
|
IIS: Microsoft, Support ASP by default, its highly integrated with Windows, Its free buying Windows XP professional or any Server Edition, The version over Windows XP just support 10 users on concurrency, and its easy to setup.
The Apache is powerful, is free, but if you are not familiar with it, try the IIS.
keep Learning and you never will be out of date...
|
|
|
|
|
thanx 4 ur reply... but is there any other webserver other than these two????
|
|
|
|
|
The four top most common Web or HTTP server programs are:
Apache HTTP Server from the Apache Software Foundation.
Internet Information Services (IIS) from Microsoft.
Sun Java System Web Server from Sun Microsystems, formerly Sun ONE Web Server, iPlanet Web Server, and Netscape Enterprise Server.
Zeus Web Server from Zeus Technology.
|
|
|
|
|
hai
c# in asp.net
iam havibg datagrid in aspx page iam displaying 2 rec at once,
the issue is
iam binding 6 rec to a datagrid
once i cik on submit button all the rec has to be saved
plz let me know
|
|
|
|
|
hi,
i have used below code to show client validation.
<br />
Sub validation(ByVal strMessage As String)<br />
Dim strScript As String = "<script language=JavaScript>alert('" & strMessage & "');</script>"<br />
If (Not ClientScript.IsStartupScriptRegistered("clientScript")) Then<br />
ClientScript.RegisterStartupScript(Me.GetType(), "clientScript", strScript)<br />
End If<br />
End Sub<br />
And I have used Treeview on my page its custom control. When alert shows that treeview is giong to hide and thats not whole treeview only some below nodes of treeview.When i am moving mouse towards treeview it shows me treeview.
Why this problem arives ??
Please help.
Thanks,
Tejal
|
|
|
|
|
I highly suggest that you use this third-party control... it's free of charge too!
http://www.obout.com/t2/edraganddrop.aspx
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
Hello folks, I need to work on a client's data driven asp.Net site and make it accessible. The things that immediately came to my mind are making sure all the images have <alt> tags specified, and that all the tables have headers elements specified in html. Now these are the things that can be checked pretty quickly...I'm trying to figure out what is the right approach towards accomplishing this compliance with the W3C standards on accessibility. In other words do you guys think that redesigning the site from the scratch would be a better option, or should I just make sure that all the controls that are being used in the site (most of them are data bound controls) would have some property exposed on them which will allow the alternative text behaviour (NOTE: datagrid for instance doesn't support alt tags but has use accessible header property which allows you to specify a header so that the screen reader programs and read it without any issues.
Folks, the bottom line is that I'm basically trying to see if anyone of you guys have worked on this sort of stuff before where you are making an existing site (pretty big in size) accessable. I'd appreciate if you share your experience with me.
Thanks and happy Thanksgivng to all.
sam
|
|
|
|
|
Sam
Your problems really kick in if you are using any ASP.NET control that exposes badly formatted HTML. Now, accessibility means different things to different people. For instance, if you want a blind person to be able to use the site then you will find that tables are pretty much useless because they render it almost impossible for screen readers to work with the site. This means that you will need to use CSS, but the ASP.NET controls such as the menu control expose tables don't they? Well, if you are using .NET 2, there is a wonderful little thing that you can do:
http://www.asp.net/cssadapters/[^]
I hope that this gives you some ideas.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|