Tag: ASP.NET

  • DataGrid Example – Part 1

    For the basics of DataGrid please refer this post: https://jitendrazaa.com/blog/?p=188 In this example, i will explain the basics of DataGrid control like Theming, Databinding etc. We will start our example with creating the SQL Express database of Employee which will contain the following fields : Id, FName, LName, Email. Now create a stored procedure to…

  • ASP.NET DataGrid basic questions

    What is datagrid? The DataGrid Web server control is a powerful tool for displaying information from a data source. It is easy to use; you can display editable data in a professional-looking grid by setting only a few properties. At the same time, the grid has a sophisticated object model that provides you with great…

  • Upload Files in ASP.NET at Production server

    In this article, i am going to demonstrate that how to upload the file in ASP.NET production server. Most of the case, a developer created a code to upload the file and test it on his local machine. program runs smoothly, but as he forward the same code on production. He stuck in the file permission error as on…

  • cannot access a closed file – FileUpload in ASP.NET

    This was very interesting error, i got during development of file upload control in ASP.NET. On my local system, every thing was just fine. but when i deployed my application on development server, my control was able to upload only small size files. whenever i tried to upload large size file i got error “cannot access a…

  • XML Parsing Error: no element found

    Few Days ago, i found strange error like “XML Parsing Error: no element found“. I was unable to find the exact root cause. Most of the times it happens if you are missing any closing tag in your ASPZ application. I checked my complete page and reconfirmed but error still persist. somehow i found that…

  • Style File upload control in ASP / HTML

    As most of us know that we cannot style the file upload control to much level, still we can give it a stunning effect with the help of CSS. There is nothing in code to explain. I took three upload control and one button to give effect. Lets say upload control is in ASP.net or…

  • ASP.Net Error: Response is not available in this context

    This error occurred when  i tried to call Response.Redirect method from a class file. Then i tried to find the solution and i got to know that when we use the response object from an aspx page either from aspx page or it’s codebehind page, the response object is directly available because all these derived from…

  • App_Offline.htm in ASP.NET

    If you place a file with the name App_Offline.htm in the root of a web application directory, ASP.NET 2.0 will shut-down the application, unload the application domain from the server, and stop processing any new incoming requests for that application. ASP.NET will also then respond to all requests for dynamic pages in the application by…

  • Use FXcop with ASP.NET

    FxCop, an abbreviation “Framework Police,” is a rules-based engine that checks managed code assemblies for Microsoft’s .NET Framework design guidelines and custom guidelines. FxCop is a rule based engine which helps the development team to follow best practices of the .NET platform and development standards (based on every company standards). You can apply to any…