【发布时间】:2017-04-19 10:32:08
【问题描述】:
<!DOCTYPE html>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<table name="GridView" class="table table-striped">
<thead>
<tr>
<th>Haber Adı</th>
<th>Link</th>
<th>Yayınlanma Sati</th>
</tr>
</thead>
<tbody>
<tr>
<input type="password" class="form-control" id="sifre" runat="server" />
<td id="t_haberadı" runat="server"> </td>
<td id="t_link" runat="server">2</td>
<td id="t_saat" runat="server">3</td>
</tbody>
</table>
</div>
</html>
//后面的代码
SqlDataAdapter da = new SqlDataAdapter(veriler, bag);
DataSet ds = new DataSet();
//da.Fill(ds);
//GridView1.DataSource = ds;
//GridView1.DataBind();
**引导表成员将显示数据库请帮助我
如何显示我的数据?
给我看我想做的数据Bootstrap表
//Bir ya da birden fazla satırların sonuç olarak döneceği sorgularda SqlCommand' ın ExecuteReader özelliği kullanılmaktadır. ExecuteReader geriye SqlDataReader tipinde veri döndürmektedir.// **
【问题讨论】: