CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 2/13/2007 12:25:47 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 29 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
prajapatiamit20
Asp.Net User
differance beet ween C# and VB.NET2/13/2007 12:25:47 PM

0

hi

i want to know what is the difference beet ween   C# and VB.NET!

and server.transfer and resopns.write 


Nothing is really over,untill the moment stop trying for it...
Amitsp
SreedharK
Asp.Net User
Re: differance beet ween C# and VB.NET2/13/2007 12:53:25 PM

0

C#, VB.NET are two different languages you can use for .Net develoment, both are supported by .Net

You can use either of the languages as your convience......C# is more for peole who likes { syntax, came from C,C++,Java

VB.net is for people who came from vb,asp etc....

 

Response.Write for writting content to the page....

Server.Transfer tranfers the page seemlesly to other page: Here is the definition: A transfer happens without the client knowing ? it?s the equivalent of a client requesting one page, but being given another. As far as the client knows, they are still visiting the original URL. Sharing state between pages is much easier using Server.Transfer ? you can put values into the Context.Items dictionary, which is similar to Session and Application, except that it lasts only for the current request. (search for HttpContext in MSDN). The page receiving postback can process data, store values in the Context, and then Transfer to a page that uses the values.

There is similar to server.transfer is there, that is, response.redirect.

 Read at@ http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=15

Hope it helps!


Sreedhar
Microsoft MVP (ASP.NET)
http://www.w3coder.com
weblog http://weblogs.asp.net/skoganti
docluv
Asp.Net User
Re: differance beet ween C# and VB.NET2/13/2007 12:57:19 PM

0

First the diference between C# and VB.NET, technically nothing other than syntax. Each language be it VB, C#, J# or any of the other 40+ .NET languages is compiled into IL (intermediate language) to make the .NET assembly. They are all just syntax to the framework, so they are all equivelent.

I have been a VB.NET guy since Beta 1 and have recently started doing more C#. The main diference to me is Visual Studio is much more helpful to VB than C#. VB offers better contextual help, more snippets and it compiles as you type. C# forces you to manually recompile constantly to see where your errors are and if you corrected an error from the last compile. Taking the obvious syntactical differences out of the equation projects can be complete much faster using VB.NET than C# because of the IDE differences. If you do everything in notepad, I do not think there would be a difference at all.

Next question, Response.write and Server.Transfer.

Response.write sends a response back to the browser and tells it to open the URL you pass it. Server.Transfer actually transfers the request from one page to another, never leaving the server. That is why you can not server.transfer to another domain. Each have their place, response.write is used more often than server.transfer, but I think that is because so many learned to do that in the old ASP days. With transfer you actually retain access to the objects of the page that initiated the post-back, where with response.write you would have to pass a set of querystring parameters.

 

Hope this helps.


Chris Love
docluv
Asp.Net User
Re: differance beet ween C# and VB.NET2/13/2007 1:05:54 PM

0

I am not sure my brain was sending the proper request to my fingers in the last post, I mean to write Reponse.Redirect instead of Response.Write. Sory about the confusion. response.Write add text to the buffer being sent to the browser.
Chris Love
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Full text of "Experiments with sugar beets in 1890" v b \/ i rh Ul U. S. DEPARTMENT OF AGRICULTURE. .... of German and French beet-sugar factories do not fall below 10 per cent net on the capital invested. ...... John Ween 7641 Florimoud Desprez Sept 29 10 3 9 8 71 7 i 1 44 280 ...... the difference between 20 tons and 35 tons per acre of beets is to the ...
Full text of "Introduction to phonetics, English, French and ... In ordinary spelling c is used for k or s, as in cat, cell ; q is used for k, ...... But this is not the most important point of difference bet ween these two classes of ...... associate (vb.) cp. social musician officiate propitiation conquer cp. ...... Beet dha draivar ov dhi Aas dispyutid dha pleys widh him, ...
Coordination Chemistry Reviews : Structural aspects of Pt ... Its tise course of this work it Isas also beets found tlsat DM50 aisd ..... which now range from E. Zctg'xnd' .4 flcmrd5wiwo,, (6, t.i vb C? .... both c and r MOs. as depicted in Fig. l2, resolting in a net bonding ..... The difference can be ascribed to the different size of the ring containing the N donor atom. ...
I N D E X . I N D E X . A. abate, beet,. 117, 1, a;. 149. able, eebo,. 117, 1, c ; ...... net,. 71, 1, a. new, njuu,. 99, 1. neat, nskst,. 71, 1, e. nibble, nibl,. 71, 2, a ; 184, 1, ...... sow (vb.), sao,. 98, 1, c ;. 200, 1. spade, spead, 79, ...... c ;. 209, 1, a. wean, ween,. 82, 1, a ; 199,. 1, e. weapon, wepm, 84,2, ...
/tardir/tiffs/a376414.tiff can imported machine will "be the VB 200-type horizontal boring'mill. .... " obstruction of the naturai gas pipe-line oet.ween Mis- ... by the middle-of September» Due to increased beet slice .... roads have net nearly been developed as intensely as the .... be ôs200 meters lone ana will surmount'a difference of ...
Near-infrared Spectroscopy in Food Analysis the vibrating molecule, there will be a net transfer of ..... The difference between these wavelengths or segments is called the gap. ..... kind of adulteration (e.g. medium invert beet sugar, ... ween Data Analysis and NIR Applications, Ellis .... V.B. McGrath, A.B. Blakeney, G.D. Batten, ‘Fructan to ...
Mise en page 1 ween high Zn containing lines and agronomically superior varieties to increase the .... tion of nutrients like C, N, P and S etc. The microbial biomass in soil is ..... Bhadoria PS et al., 2002: Phosphorus efficiency of wheat and sugar beet ..... confirm a significant difference between rhizosphere and bulk soil. ...
a new approach to cooperative research in the population field une ... to make the beet projections possible within the limits of existing knowledge and ...... ween urban and rural areas. Unlike the other models, ... tions generates net migration rates for adult agricultural population from ...... quant (c) et (d) à (a); (f) la différence entre la population "brute" et l' estimation ...
Present sources of precise information on the universal physical ... cision work by CoMPTo, BEETS and DEFOE [16] on calcite M. SIEGBA[ .... VB ..... V = V H + Vw, which is the sum of V,, the measured voltage difference bet- ween cathode and target, and Vw, the work function of the thermally emitting ..... ( + me) + (Mc) = (T + Mc) + (T + ,%c). The net gain in kinetic energy of the ...
00databasealphabet URb5 d 00databaseinfo B1 EV 00databasescript ... ... BXRD CL beer BXTO D/ beerhouse BXXN b beeswax BXXo V beet BXX9 BR beetle ...... differ Eakb Ek difference Eao/ H7 different Eaw6 Cz differential Eazt C7 ...... nestling LaCW o net LaC+ GA net LaI+ Cu nether LaLs Bd netherlander LaNJ ...... Tg04 Bi weel Tg2a BN weel Tg3n c weem Tg4D g ween Tg4j Dl weenie Tg8I DX ...












how to by pass forms authentication for "forgot your password" link on login page

how to show user id in sequence, rather than regular way

how to make login controls use other page than login.aspx?

login control.

moving from http to https and back again

how to pass iis authication token to client application?

roles based authorization

using adam for roles 2.0

digital certificate authentication w/ post to server

how do i get the name of currently logged in user

formsauthentication - disabling cookie

assign a default role with createuserwizard

asp .net "administrator mode" administrator to login before one can add, edit, delete candidates/voters ?

using user.identity.name as parameter for objectdatasource

problem when a user logs in as two different users from same computer one after the other

windows authentication questions

ad and ldap guru, web form authentication against ad

is it possible...

dose session object need transfer on net ?

security connection to a database

com object with clsid {91493441-5a91-11cf-8700-00aa0060263b} is either not valid or not registered

authorization location

want to make checkbox enable for particular users only

connect to sql 2005 endpoint with authentication = (basic) and ssl with asp.net

using javascript in the loggedin event of the login control

strange permission problem with createuserwizard

roles not working with custom principal

one way of getting around multi-hop credentials when calling a web service

protecting a download folder

using multiple providers on the same server

how to use an aspx-page(with login-control) which don't save a cookie?

bug? in active directory membershipprovider

membership createuserwizard template

roles and tabs

securing more than 1 folder

preventing simultaneous login from the same user

{"session state can only be used when enablesessionstate is set to true, either in a configuration file or in the page directive." error

asp.net configuration

how to make quicky prompting authentication on top of asp.net 2.0 membership enabled site

login screen shows character for password in firefox

signing data with your private exchange key

mixed windows authentication problem on netscape

authentication or authorization failure?

login falure

login control with access database

passing a forms authentication ticket between applications ?

accessing a custom login control programmatically

invalid access to memory location

request for permission of type..

run .exe in windows server 2003 ?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT