----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Nasha Message 2 in Discussion Your code is correct something else must be wrong.Check it up !!! Regards, Namratha Shah.. -----Original Message----- From: Am2pm4 [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 3:56 PM To: BDOTNET Subject: Dsplaying Icon for each row in DataGrid New Message on BDOTNET Dsplaying Icon for each row in DataGrid Reply Reply to Sender Recommend Message 1 in Discussion From: Am2pm4 Hi I have an ASP DataGrid and I m gettig the data to datagrid by binding it into datagrid from dataBase Dim DS As DataSet Dim MyCommand As New OleDbDataAdapter("select * from tbl_DocumentType", OleDbConnection1) DS = New DataSet MyCommand.Fill(DS, "tbl_DocumentType") DataGrid1.DataSource = DS.Tables("tbl_DocumentType").DefaultView DataGrid1.DataBind() Now I need to add one column in my datagrid and i am doing it by adding a Template Column as given below But the code is not wortking ??Any Idea <Columns> <asp:TemplateColumn HeaderText="Path"> <ItemTemplate> <asp:Image id="Image1" style="Z-INDEX: 103; LEFT: 8px; POSITION: absolute; TOP: 8px" runat="server" ImageUrl="App.gif"></asp:Image> </ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText = "TextBox"> <ItemTemplate> <asp:TextBox ID ="txtbox" Runat = "server"> </asp:TextBox> </ItemTemplate> </asp:TemplateColumn> </Columns> </asp:DataGrid> View other groups in this category. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
