-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Am2pm4
Message 1 in Discussion


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>  

-----------------------------------------------------------

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]

Reply via email to