using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data.SqlClient; using System.Data; using System.Configuration; using System.Net.Mail; using System.Drawing; using Message; public partial class IPARD_do10332 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string connString = ConfigurationManager.ConnectionStrings["ceprosard"].ConnectionString; SqlConnection conn = new SqlConnection(connString); conn.Open(); SqlCommand s_t1 = new SqlCommand("SELECT ime, adresa, grad, telefon, faks, mail, web, lice, imenafajl FROM IPAD01 WHERE MB5 = 1", conn); SqlDataAdapter da_t1 = new SqlDataAdapter(s_t1); DataSet ds_t1 = new DataSet(); da_t1.Fill(ds_t1); t1.DataSource = ds_t1; t1.DataBind(); } }