I believe all developers know this forum http://www.experts-exchange.com. Usually you can see it in the first position in Google while looking for information about programming.
But This forum is not free, and you have to pay $12.95 Monthly to access this forum. So most of the people who don’t want to pay usually skip this [...]
Often you have to create a simple pages for your website, for example admin pages which allow you edit tables through web. When working with Ms Sql server it’s a very easy task which you can solve with SqlDataSource and DataGrid. But using Oracle it’s difficult to make your page work without exceptions and you [...]
To debug JavaScript I used this lines of code,
<script type="text/javascript">
function myFunc(){
debugger;
}
</script>
.csharpcode, .csharpcode pre
{
font-size: small;
color: black;
font-family: consolas, “Courier New”, courier, [...]
If you want to compare some constant string value with variable, you can use this code:
string myString = “hello”;
if(myString.ToUpper() == “HELLO”)
{
// do somthing
}
But in this case you have to check variable to null, because you can have null reference exception in method ToUpper()
string myString = “hello”;
if((null != myString) && (myString.ToUpper() == “HELLO”))
{
// do somthing
}
To avoid [...]