GridView With an ItemTemplate
We can customise the way a GridView look by using Item Template, we can use in our own convenience
Steps:
1). In our example we are using Northwind Database, table Employees
2). use the following SQLDataSource
If you are familiar with the language you are using most probably you already know the built in packages. In Visual Basic 6.0 there is an add-in that you can use to create an installer. This can be found under the Add-ins menu >> Add-In Manager then loading the Package and Deployment Wizard.
USE [databasename]
GO
/****** Object: StoredProcedure [dbo].[user_insert_mycomment] Script Date: 11/19/2008 22:45:11 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
DS1.ConnectionString="Driver={MySQL ODBC 3.51 Driver};server=YourServerIP;database=" & _
"YourDB;user=YourUID;pwd=YourPWD;option=3;"
using System;
using System.Data;