Buy Questpond's video subscriptions on
huge discount
.
Online: 3900
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
error in converting VB to C#
Posted by
Oswaldlily
under
ASP.NET
on 2/15/2012 |
Points: 10
| Views : 1706 | Status :
[Member]
| Replies : 4
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Dim name= Mapper.functionname(Me.Name)
How to convert this into C#?
var name = Mapper.functionname(this.Name);
public tablename functionname(string onj)
{
}
Error:Does nt contain a definition for 'Name'
red mark under 'this.name'
what error there?
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Naidulaxmi
on: 2/15/2012
[Member]
Starter
|
Points: 25
0
hi,
this is convert to c# "dynamic name = Mapper.functionname(this.Name);"
and
this is also convert into c#
var name = Mapper.functionname(this.Name);
public tablename functionname(string onj)
{
}
Thanks,
appalanaidu
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Oswaldlily
on: 2/15/2012
[Member]
Starter
|
Points: 25
0
@Naidulaxmi
this.name not accepting in C#.. while using dynamic and var
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Oswaldlily
on: 2/15/2012
[Member]
Starter
|
Points: 25
0
Using this.name to get existing filename of any asp codebehind page
eg) this.name="loginpage.cs"
consider i has 3 file login page.asp,home page.asp,order page.asp
I have common function for all three
public string functionname(string filename)
{
}
if i executing login page,filename shd be login.cs
if i take home page,filename shd pass home.cs
if i execut order page,filename shd be order.cs
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Daisywhite
on: 2/24/2012
[Member]
Starter
|
Points: 25
0
Sorry for that , but a PDF-417 Generator for C#.NET - Generation Guide might be helpful.
http://www.keepautomation.com/csharp_barcode/pdf_417.html
Oswaldlily
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...