Wayne Larimore

.NET | MVC | jQuery | Office | Multimedia | Gadgets
posts - 300, comments - 208, trackbacks - 62

April 2010 Blog Posts

Jerry Wells Testimony

The Testimony of Jerry Wells, my pastor   My name is Jerry Wells. My parents were Wilbur and Opal Wells. I was born in December, 1954. I grew up in Oklahoma City. My Mom Opal died just before my 4th birthday. My Dad Wilbur was devastated by her death as was our whole family. He turned to alcohol to escape his pain. For the next 14 years of my life, I lived with an alcoholic.   Wilbur was a bad drunk. To his credit he maintained his job and only drank after work and on weekends. He attended clubs where he met various women and slept with them. I was five the first time I...

posted @ Thursday, April 8, 2010 5:48 AM | Feedback (1) |

How to get Eval ItemTemplate value from TemplateField

If you want to retrieve a value produced by an Eval within an TemplateField within an ItemTemplate, this is how... Here's the code: string _id = ((DataBoundLiteralControl)GridView1.Cells[0].Controls[0]).Text;   Here's the Design View: <asp:GridView ID="GridView1" runat="server" DataSourceID="sdsDataSource" DataKeyNames="ID">   <Columns>     <asp:TemplateField HeaderText="ID">       <ItemTemplate> <%#Eval("ID") %></ItemTemplate>     </asp:TemplateField>   </Columns> </asp:GridView>

posted @ Tuesday, April 6, 2010 4:07 AM | Feedback (0) | Filed Under [ .NET General ]

Powered by:
Powered By Subtext Powered By ASP.NET