ASP.Net Archives - Page 10 of 10 - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

ASP.Net Category

The first thing you need to do when accessing data, of course is to create a connection to the database.  For this entire tutorial, we’ll use SQL Server for the database, but it can be done with most OleDB databases also. Naturally, we’ll use/import the necessary namespaces (Sytem.Data and System.Data.SQLClient). In VB, we’ll use the […]

August 13 , 2010 | | In: ASP.Net, ASP.Net Tutorials

5 Nifty Things You Can Do With a Path

The ‘Path’ class, in System.IO is very useful and can save you a lot of time and work in getting what you need out of the path. In Classic ASP, using VBScript, with all the mid/left/right functions was a chore. Then, in ASP.Net, these were updated and a little easier, using the substring function. However, […]

August 12 , 2010 | | In: ASP.Net, ASP.Net Tips, Visual Studio

Formatting text in HTML Source View

If the code in your Source View seems unorganized and unreadable, there is a simple way, in Visual Studio, to format the text into a more readable format. What it actually does, is to create a hierarchical, tabbed view of your HTML. All you need to do is to highlight the text you need reformatted […]

REST (the initials) stand for : Representational State Transfer. REST is a service API which allows you to access services and data from various clients. To do this, you would specify a URL to some item, like a web page with xml in it, and get that item back, via an HTP ‘GET’ request, and […]

August 11 , 2010 | | In: ASP.Net, ASP.Net Tips

‘EndsWith’ is Case-Sensitive

The string function ‘EndsWith’ is case-sensitive, even in VB.Net, so if you’re looking for a certain string (maybe the file extension, in a filename), you need to make sure you’re looking for the correct thing, since ‘xls’, with case-sensitivity, is different than ‘XLS’. So, if you’re function is looking for ‘xls’, you must make sure […]

If you already have any kind of button, whether it be a plain button, LinkButton, or Imagebutton, in a TemplateField, within a GridView, you can add ‘Select’ features to it, just as if you had added a ‘Select’ column. All you need to do is add ‘Select’ to the CommandName property. Then, anything you could […]

August 11 , 2010 | | In: ASP.Net, ASP.Net Tips

Change Master Page Depending on Browser

Did you know that, in your content pages, you can specify a certain MasterPage, depending on the browser that’s hitting your page (at least IE and FireFox). All you need to do is to add a section for each specific browser to your content page’s Page Directive, after creating a separate MasterPage for each browser: […]

August 10 , 2010 | | In: ASP.Net, ASP.Net Tips

SelectedItem.Text Not Keeping Selection

When using DropdownLists and Listboxes, or any control which uses ‘selecteditem.text’ to get the selected item, the major reason for not getting the correct item is as follows. If you are binding the control at Page_load, you MUST surround the binding code with a page.ispostback/if/then statement inside the Page Load event.

August 10 , 2010 | | In: ASP.Net, ASP.Net Tutorials

Dynamic Data

Dynamic Data, in ASP.Net is the greatest thing since sliced bread, in my humble opinion. Using it, you can easily create really good SQL Server table Admin applications, to do all your CRUD work. And, for those of you who don’t know, CRUD stands for Create, Read, Update and Delete.



All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF


If you find this site helpful,
please donate to help keep it online and free





Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter


Test - The Name: 6936