Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » DataGrid Programming   (RSS)

The Report Viewer Control

The report viewer control is a new feature of Visual Studio 2005. The report viewer makes it easy to embed reports directly into your application. It’s important to understand that this control operates in two modes. Using the server side mode you can

Getting a Value

Let’s start with a DataGrid that looks like the following If we wanted to retrieve the value that a user selects from the drop down list control shown in Column 4 into a value. We would use the following code. ' Gets the value the dropdown control in
Posted by trobbins | 2 Comments

Creating a DataGrid Programatically

Someone recently asked me how you can programmatically create a DataGrid. So here is an example that I put together. Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load CreateGrid() End Sub Public Sub
Posted by trobbins | 0 Comments

Customizing the DataGrid

Let’s start with a DataGrid that binds to a DataSet that is returned from a Web Service using the following code. Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page
Posted by trobbins | 0 Comments

DataSet, DataRow and other things

Question: I am trying to understand the dataset and how I can use it. It looks like a really powerful feature but it has an incredible amount of objects. It seems to me that I should be able to do simple things like create and edit values. But for the
 
Page view tracker