<tr>
<th width="219" scope="row">公司编号 </th>
<td width="197"> <input name="cid" type="text" id="cid" value="" /> </td>
</tr>
<tr>
<th scope="row">公司名称 </th>
<td> <input type="text" name="cname" id="cname"/> </td>
</tr>
<tr>
<th scope="row">公司描述 </th>
<td> <input type="text" name="cdesc" id="cdesc"/> </td>
</tr>//这是前台的代码
string cid = dt.Rows[0]["cid"].ToString();
string cname= dt.Rows[0]["cname"].ToString();
string cdesc= dt.Rows[0]["cdesc"].ToString();
这是后台的 我获得的数据
我怎么才能让 cid cname cdesc等数据显示到前台上去啊
<th width="219" scope="row">公司编号 </th>
<td width="197"> <input name="cid" type="text" id="cid" value="" /> </td>
</tr>
<tr>
<th scope="row">公司名称 </th>
<td> <input type="text" name="cname" id="cname"/> </td>
</tr>
<tr>
<th scope="row">公司描述 </th>
<td> <input type="text" name="cdesc" id="cdesc"/> </td>
</tr>//这是前台的代码
string cid = dt.Rows[0]["cid"].ToString();
string cname= dt.Rows[0]["cname"].ToString();
string cdesc= dt.Rows[0]["cdesc"].ToString();
这是后台的 我获得的数据
我怎么才能让 cid cname cdesc等数据显示到前台上去啊
解决方案 »
- ItemTemplate里面的TextBox移出焦点的事件是什么
- sendmessage wm_settext 发送特殊符号的问题
- 四表连接查询的内容,用树型菜单展示有什么简单的方法么?
- 我在程序运行过程中修改了Winform中的一个listview,希望下次运行时保存修改该怎么办?
- 使用水晶报表打印销售清单问题
- 用DataTable创建的虚拟表如何和真实的表联结生成一张视图
- IIS7.0 .NET4.0 WINSERVER2008环境下操作AD域
- 同一个程序点击运行两遍,内存里面会有程序代码和资源的两次复制吗?
- c#如何读取odbc管理器中的系统数据源?
- 汉字与拼音的关系
- 有关于GridView内部控件隐藏问题!
- 关于visual studio 2008中自带的sqlserver问题
<th width="219" scope="row">公司编号 </th>
<td width="197"> <input name="cid" type="text" id="cid" value="<%=cid %>" /> </td>
</tr>
<tr>
<th scope="row">公司名称 </th>
<td> <input type="text" name="cname" id="cname" value="<%=cname %>"/> </td>
</tr>
<tr>
<th scope="row">公司描述 </th>
<td> <input type="text" name="cdesc" id="cdesc" value="<%=cdesc %>"/> </td>
</tr>//