public string employee
{
get{
return employee;
}
set
{
employee=value;
}
}


whether this kind of property can be used in asp.net :confused: or not ?
Reply ASAP :?: :-/ .......
Thank in Advance:)

Recommended Answers

All 3 Replies

It appears that this setup can be used in ASP.Net, at least I'm assuming as much or Visual Web Developer wouldn't allow the structure to be written and I get no errors with it when I input it into my test project I use when debugging issues for posters here :)

Realistically most class definition types (such as variables and methods) are interchangeable between C# and ASP.Net, some object methods however are not (ex: textBox.SelectedText is available in C# but not ASP.Net).

ok i will check it out .

Sorry if you didn't catch the rest as I was editing when you replied but ya, should work and only way to be sure is to implement it yourself.

Hope it helps :) Please mark as solved if your issue is resolved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.