Hi, i wan't to connect my grid view with an SQL database. I introduce the text that has to been introduced in sql.
how can i do it??
using System;
using System.Text;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace WebApplication1
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
mvpaginas.SetActiveView(vistaintroducir);
DataTable DT = new DataTable();
DT.Columns.Add("Categoría", Type.GetType("System.String"));
DT.Columns.Add("Nombre", Type.GetType ...
Go to the complete details ...