|
|
Try the ASP.NET forum then.
|
|
|
|
|
|
Hello Friends,
I have to develop a web application in .Net but i am not being able to decide which language should i use, VB or C#.
Can anybody tell me any advantages of using C# over VB or vice-versa.
Or if someone can give me a link of some article regarding this.
Thanks,
Nagendra.
|
|
|
|
|
This question has been asked many many times, so if you just search the net you will find an abundance of opinions.
Aside from all opinions, I believe that most people agree with:
1. There is very little difference in what can be done in VB.NET and C#.
2. You will write better code in the language that you know better and feel more comfortable with.
3. Knowing a bit of both languages gives a better understanding about the .NET platform and makes it easier to find example code.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
The better site where all codes are available supported by .net
than[.net]">
sanjeev
modified on Monday, February 04, 2008 10:22:08 PM
|
|
|
|
|
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
You may like to check out this WhitePaper highlighting the differences and similarities (merits and limitations) between both the languages:
http://support.microsoft.com/kb/308470[^]
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
It's Depend Upon your Skills and Ofcourse On ur mood also.
If u like to work with object oriented mode then u have to go for C#.
And if u have not great funda about OOPS then VB will be the best.
Sometime it is depending on what kinda project u wanna create.
But Personally I feel C# is Better.
No Redundency of code and ofcourse Reusability of code.
Believe Yourself™ :->™
|
|
|
|
|
What is diffrences between asp.net and vb.net?
how can data insert in in asp.net?
sanjeev
|
|
|
|
|
idsanjeevjha wrote: What is diffrences between asp.net and vb.net?
VB.NET is a language. ASP.NET is a platform.
ASP.NET is the platform for web applications. You can use many different languages with ASP.NET, of which C# and VB.NET are the most common.
idsanjeevjha wrote: how can data insert in in asp.net?
That's a too vague question to answer, really. The ASP.NET platform uses the .NET framework, so you have full access to the database classes in the framework.
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
Hello guffa
where can i write the code of asp.net easily.i don't know how can use database in asp.net.
thanks
sanjeev
|
|
|
|
|
Then buy a beginners book on the subject
|
|
|
|
|
Thanks for your outstanding support. your are the best
sanjeev
|
|
|
|
|
idsanjeevjha wrote: where can i write the code of asp.net easily.
idsanjeevjha wrote: i don't know how can use database in asp.net.
I don't know if I understand what you are asking about really, but you can use Visual Studio to write ASP.NET code.
Is it that you don't know how to use a database at all, or specifically how it's done in ASP.NET?
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
specifically how it's done in ASP.NET?
with oracle and access database
thanks
sanjeev
|
|
|
|
|
Hi
You can go for Visual Studio 2005 For Build Asp.Net Application.
Asp.Net Is platform on which you can Code with VB or C# or with any language which .net framework supports.
And For Database U can Use Microsoft SQL Server 2005 Express.
Now inserting data in asp.net : It is not possible to insert data in asp.net
U can enter data in Database That is MS SQL Server.
Hope this helps...
Believe Yourself™ :->™
|
|
|
|
|
Hi all;
I am developing a commercial website. (mid-scaled : 1000 concurrent users).. Employer wants our users to be able to login via entry page with ssl. However If I put my main page in ssl state, then load times will greatly suffer due to ssl's overhead.
Anyway I found a solution by posting (crosspostback) the form's input to a seperate aspx which is protected via ssl. All login process happens in this new ssl page and it redirects user to appropriate page after succesful login.
Here the problem starts : After a while this mechanism stops working. It sometimes take 10 days, sometimes 10 minutes. After I restart iis it starts working again. why would such a problem occur?
Note: You can also cookie login to my site if you have previously checked "Remember me" option and set a cookie. cookie login takes place during the page_load event of the main aspx. Whenever regular login stops working, cookie login keeps working without any problem. differently speaking, rest site functions works properly. Only login mechanism stops working due to crosspostback failure. What may cause it? Any ideas?
Futher note; my framework is .net 20, c#, nhibernate 1.2.1, forms authentication.
For those who will help me or pay attention, I really appreciate in advance
Sincerely;
Can Akpinar
mca
|
|
|
|
|
I have a text box. Data enered in this textbox is inserted into a database table. How can I enter single quote (eg: Peter's) in this text box and insert the same into the database (ASP .Net, C#)?
|
|
|
|
|
Use Parameterized queries. Your insert query would be
INSERT INTO MyTable(MyColumn1,MyColumn1) VALUES(@MyFirstParam,@MySecondParam) . You need to supply these parameters in your command object like
MyCommand.Parameters.Add(@MyFirstParam,value);
MyCommand.Parameters.Add(@MySecondParam,value);
|
|
|
|
|
You might also want to have a look through your code and have a think what the results of me entering
foo'; DROP DATABASE; --
into your textbox.
Have a google for SQL injection.
|
|
|
|
|
i have a lookup in sharepoint and it fill with number for example the content of that is 1 2 3 4 5 ...
now i want it contains sometime 1 sometime 2 and ..
i want filter it.
can i do this in sharepoint designer with javascript and how?
|
|
|
|
|
Does anyone know an easy way to consolidate mutilple stylesheets into one global sheet that contains all common style settings and a number of specific sheets that can then be applied to the relevant pages.
My situation is that we had an external designer provide templates that differ only in colour for branding various sections of the site.
The problem is that they have written large CSS's that have many common elements and a few specific settings that either point at a small graphic file or have a couple of colour settings different. (There are about 700 lines per sheet).
I would like to convert these to something like
Global.css
Red.css
Green.css
Yellow.css
...
and just apply the global.css and red.css to the red pages, Global.css and Green.css to the green pages, etc.
I have done a google search and CP search and can't find any thing that looks like it will help.
|
|
|
|
|
Hi to all,
I created wrapper for the activex control created in vb
by aximp
i run aximp socx.ocx
socx is the name of my active x control.
Then i got two dll AXSOCXLIb and SOCXLib
i added to my .net 2003 reference folder then
i create object
Public X1 As New SOCXLib.SOCXClass
and pass all parameter to one of the method that is
str = gOutgoingNo & Trim(txtDialNo.Text)
g_NewCallRefID = 0
ip_addr = "130.1.12.21"
extn = 3308
X1.SCTMakeCall(str, "", g_NewCallRefID)
i got all the parameter but on last statment
when he call SCTMakeCall method i got
System.Runtime.InteropServices.COMException: Catastrophic failure
This is very urgent
please help me
Regards
Sonia.
|
|
|
|
|
soniasan wrote: This is very urgent
In case you haven't noticed, no one is really going to care. It is frowned up around here to tell people your problem is urgent.
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|