Grid View

A

a.mustaq

Hi All,

I have to develop a GridView which consists of
TextBoxes and DropDownList and it should accepts input. I have created
that but in runtime it is not visible. Here I am giving the code of
GridView.

<asp:GridView ID="Gv_Name" runat="server" Height="155px" Width="974px"
AutoGenerateColumns="False" HorizontalAlign="Left" SelectedIndex="0"
PageSize="100" >
<Columns >
<asp:TemplateField HeaderText
="Type">
<ItemTemplate >
<asp:DropDownList
ID="GvDdl_Type" runat ="server" CssClass="ddlControl"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText
="First Name">
<ItemTemplate >
<asp:TextBox
ID="GvTxt_FirstName" runat ="Server" CssClass="txtControl" Text
="jvbjf"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText
="Middle Name">
<ItemTemplate >
<asp:TextBox
ID="GvTxt_MiddleName" runat ="Server" CssClass="txtControl" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText
="Last Name">
<ItemTemplate >
<asp:TextBox
ID="GvTxt_LastName" runat ="Server" CssClass="txtControl"/>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText
="Suffix">
<ItemTemplate >
<asp:DropDownList
ID="GvDdl_Suffix" runat ="server" CssClass="ddlControl"/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerSettings
PageButtonCount="100" />
<RowStyle CssClass="DATAGRIDITEM"
Height="8pt" Width="15pt" />
<HeaderStyle CssClass="GridHeader" /</asp:GridView>

Please help in achieving the requirement.

Rehards
Mustaq Ahmed.A
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top