001.
<asp:GridView ID=
"GridView1"
runat=
"server"
AutoGenerateColumns=
"False"
002.
DataSourceID=
"SqlDataSource1"
Width=
"1086px"
003.
DataKeyNames=
"id_core"
BackColor=
"White"
004.
BorderColor=
"#CCCCCC"
BorderStyle=
"None"
005.
BorderWidth=
"1px"
CellPadding=
"3"
Height=
"189px"
Font-Size=
"Medium"
>
006.
<RowStyle ForeColor=
"#000066"
/>
007.
<Columns>
008.
<asp:TemplateField>
009.
<ItemTemplate>
010.
<%# Databinder.Eval(Container,
"DataItemIndex"
) + 1 %>
011.
</ItemTemplate>
012.
</asp:TemplateField>
013.
<asp:TemplateField HeaderText=
"Core Competency (สมรรถนะความสามารถหลัก)"
014.
SortExpression=
"core"
>
015.
<EditItemTemplate>
016.
<asp:TextBox ID=
"TextBox1"
runat=
"server"
Text=
017.
</EditItemTemplate>
018.
<ItemTemplate>
019.
<asp:Label ID=
"Label2"
runat=
"server"
Text=
020.
</ItemTemplate>
021.
</asp:TemplateField>
022.
<asp:CommandField SelectText=
"รายละเอียด"
ShowSelectButton=
"True"
/>
023.
<asp:TemplateField HeaderText=
"id_core"
SortExpression=
"id_core"
024.
Visible=
"False"
>
025.
026.
<ItemTemplate>
027.
<asp:Label ID=
"Label11"
runat=
"server"
Text=
028.
</ItemTemplate>
029.
</asp:TemplateField>
030.
<asp:TemplateField HeaderText=
"1"
>
031.
<ItemTemplate > <asp:RadioButton ID=
"c1"
GroupName=
"rdCore"
runat=
"server"
032.
value=
"1"
/>
033.
</ItemTemplate>
034.
035.
</asp:TemplateField>
036.
<asp:TemplateField HeaderText=
"1.5"
>
037.
<ItemTemplate > <asp:RadioButton ID=
"c2"
GroupName=
"rdCore"
runat=
"server"
038.
value=
"1.5"
/>
039.
</ItemTemplate>
040.
</asp:TemplateField>
041.
<asp:TemplateField HeaderText=
"2"
>
042.
<ItemTemplate > <asp:RadioButton ID=
"c3"
GroupName=
"rdCore"
runat=
"server"
043.
value =
"2"
/>
044.
</ItemTemplate>
045.
</asp:TemplateField>
046.
<asp:TemplateField HeaderText=
"2.5"
>
047.
<ItemTemplate > <asp:RadioButton ID=
"c4"
GroupName=
"rdCore"
runat=
"server"
048.
value =
"2.5"
/>
049.
</ItemTemplate>
050.
</asp:TemplateField>
051.
<asp:TemplateField HeaderText=
"3"
>
052.
<ItemTemplate > <asp:RadioButton ID=
"c5"
GroupName=
"rdCore"
runat=
"server"
053.
value =
"3"
/>
054.
</ItemTemplate>
055.
</asp:TemplateField>
056.
<asp:TemplateField HeaderText=
"3.5"
>
057.
<ItemTemplate > <asp:RadioButton ID=
"c6"
GroupName=
"rdCore"
runat=
"server"
058.
value =
"3.5"
/>
059.
</ItemTemplate>
060.
</asp:TemplateField>
061.
<asp:TemplateField HeaderText=
"4"
>
062.
<ItemTemplate > <asp:RadioButton ID=
"c7"
GroupName=
"rdCore"
runat=
"server"
063.
value =
"4"
/>
064.
</ItemTemplate>
065.
</asp:TemplateField>
066.
<asp:TemplateField HeaderText=
"4.5"
>
067.
<ItemTemplate > <asp:RadioButton ID=
"c8"
GroupName=
"rdCore"
runat=
"server"
068.
value =
"4.5"
/>
069.
</ItemTemplate>
070.
</asp:TemplateField>
071.
<asp:TemplateField HeaderText=
"5"
>
072.
<ItemTemplate > <asp:RadioButton ID=
"c9"
GroupName=
"rdCore"
runat=
"server"
073.
value =
"5"
/>
074.
</ItemTemplate>
075.
</asp:TemplateField>
076.
077.
<asp:BoundField DataField=
"id_core"
ReadOnly
=
"True"
SortExpression=
"id_core"
078.
HeaderText=
"id_core"
>
079.
<ControlStyle BackColor=
"White"
BorderColor=
"White"
Font-Size=
"1pt"
080.
ForeColor=
"White"
Width=
"1px"
/>
081.
<FooterStyle BackColor=
"White"
BorderColor=
"White"
ForeColor=
"White"
/>
082.
<HeaderStyle BackColor=
"White"
BorderColor=
"White"
ForeColor=
"White"
/>
083.
<ItemStyle BackColor=
"White"
BorderColor=
"White"
ForeColor=
"White"
/>
084.
</asp:BoundField>
085.
086.
<asp:TemplateField>
087.
<ItemTemplate>
088.
<asp:HyperLink ID=
"HyperLink1"
runat=
"server"
NavigateUrl=
""
Text=
"Detail"
></asp:HyperLink>
089.
</ItemTemplate>
090.
<ControlStyle BackColor=
"White"
BorderColor=
"White"
ForeColor=
"White"
/>
091.
<FooterStyle BackColor=
"White"
BorderColor=
"White"
ForeColor=
"White"
/>
092.
<HeaderStyle BackColor=
"White"
BorderColor=
"White"
ForeColor=
"White"
/>
093.
<ItemStyle BackColor=
"White"
BorderColor=
"White"
ForeColor=
"White"
/>
094.
</asp:TemplateField>
095.
096.
</Columns>
097.
<FooterStyle BackColor=
"White"
ForeColor=
"#000066"
/>
098.
<PagerStyle BackColor=
"White"
ForeColor=
"#000066"
HorizontalAlign=
"Left"
/>
099.
<SelectedRowStyle BackColor=
"#669999"
Font-Bold=
"True"
ForeColor=
"White"
/>
100.
<HeaderStyle BackColor=
"#006699"
Font-Bold=
"True"
ForeColor=
"White"
/>
101.
</asp:GridView>