ASP.NET - using vb.net code in C#

Asked By SVK N
03-Feb-12 06:35 AM
 a = Mid(roundval, roundval1 + 1, 1)

i have this in Vb.net
a and roundval is int
how do i use it in C#
  dipa ahuja replied to SVK N
03-Feb-12 06:37 AM
Here is the convertor of vb.net to C# and C# to Vb.NEt

http://converter.telerik.com/
  SVK N replied to dipa ahuja
03-Feb-12 06:42 AM
thnaks
using that only i get the error
after translating and executing it got error in a function
so asked
  kalpana aparnathi replied to SVK N
03-Feb-12 01:37 PM
hi,

Try this in c#

a == Strings.Mid(roundval, roundval1 + 1, 1)
Create New Account
help
Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B)What is an IL? (B types? (B) What is concept of Boxing and Unboxing ? (B) What is the difference between VB.NET and C#? (I) what is the difference between System exceptions and Application exceptions? (I A) What is scavenging? (B) What are different types of caching using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object? (A) How will implement Page Fragment Caching? (B) Can you compare ASP.NET sessions with classic ASP? (B) Which are the various modes of storing ASP.NET
with indexers, destructors, or types. In C#, the static keyword indicates a class variable. In VB, the equivalent keyword is Shared. Its scoped to the class in which it occurs. Example is assumed. Answer2 8000 Answer3 The business logic is the aspx.cs or the aspx.vb where the code is being written. The presentation logic is done with .aspx extention. How in Sql server as var_name int How do you separate business logic while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging trace to true in the line in the html format of the page. %@ Page Language = ”vb” trace = ”true”AutoEventWireup = ”false” Codebehind = ”WebForm1.aspx.vb” Inherits = ”WebApplication2.WebForm1?> 2. You can enable the debugging in the application level for
Migration from ASP to ASP.net How to convert ASP site to ASP.NET site using C# http: / / www.asp.net / downloads / archived-v11 / migration-assistants / asp-to-aspnet hi, ASP.NET framework is very much different from unstrucured ASP and there is no correct way to
authentication modes and its implementation in projects hi, i am doing a project in asp.net. . i want to use a authentication mode in this project.it is a educational based do some authentication in this project. How To: Use Forms Authentication with SQL Server in ASP.NET 2.0 patterns & practices Developer Center J.D. Meier, Alex Mackman, Blaine Wastell, Prashant Bansode, Andy Wigley, Kishore Gopalan Microsoft Corporation August 2005 Applies To • ASP.NET version 2.0 • SQL Server 2000 Summary This How To shows you how you can authentication, create the user store database, grant database access to your Web application account, configure ASP.NET membership settings, and set password complexity rules. Contents Objectives Overview Summary of Steps Step 1
time examples using these. And also need information about its importance in developing applications in asp.net applications. Cheers, Samantha. hi. . State management option View state: Use when you need to store from one page to another and security is not an issue. You can use query strings only if you are requesting the same page, or another page via a link. Server State • Understanding Session and Application Events • A Practical Example • Keeping State in Static (shared in VB) Variables • Profiles • Hacking view state • Conclusion refer http: / / msdn.microsoft.com / en-us / library / 75x4ha6s programs have to acquire a connection with servers and do all the request cycles again. ASP.NET files are just text files which will be placed in the server and served upon request comes for a page, the server will locate the requested file and ask the ASP.NET engine to serve the request. The ASP.NET state less protocol and the server will