Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can One website be made using two different languages like
c#,vb.net etc......

Answer Posted / ghulam moinuddin

Yes, It can be possible to make one website using two
different laguages like C# and VB.Net

Steps are Given below:
1)Create a New Website Select A blank Asp.Net Website and
Select Language Visual Basic

2)Now Add New Form (Default2.aspx) and Select its Languate
C#

3)Take a button on Default.aspx then write in its Code
Window

Partial Class _Default
Inherits System.Web.UI.Page

Protected Sub Button1_Click(ByVal sender As Object,
ByVal e As System.EventArgs) Handles Button1.Click
Response.Redirect("Default2.aspx")
End Sub
End Class

4)Now Take a button on Default.aspx then write in its Code
Window
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("Default.aspx");
}
}

RESULT:
Now Executte your Website Both buttons will call one
another pages which are in different languages VB and C#

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define dll hell?

1089


What is a 404 redirect?

1058


What is the difference between dispose() and finalize()?

1021


Explain server control extensibility with reference to asp.net 2.0 ?

1000


What is the significance of ASP.NET routing?

1077


How to find last error which occurred?

1040


What are the validation controls available in ASP.NET?

1011


Explain the difference between debug.write and trace.write? When should each be used?

1012


Explain the difference between webfarm and webgardens in .net?

983


When should I use server transfer and response redirect?

989


Explain the difference between inline and code behind - which is best in?

1012


Can I have a unique key as foreign key?

963


What is request and response in asp.net?

964


Explain the disadvantages of viewstate?

1096


Which is better union or union all?

1071