I have grid view and now i want to set specific width for each cell and i tried my best to set width of each cell but failed to do so…
here is code that i applied to my template field.
<ItemTemplate>
<asp:Label ID="lblempid" runat="server" Text='<%#Eval("EmployeeId") %>'></asp:Label>
<ControlStyle Height="10px" Width="20px" />
</ItemTemplate>
I am new in c# and ASP.Net so please guide me.
thanks in advance. 🙂
You can set like this
or