Hello, I'm a junior developer, and I have a question.
Above is what is contained in my templatefield. In my code behind I am trying to pull just the FAQTitle content onselectedindexchanged in my gridview, as such:Code:<ItemTemplate> <span style="font-weight: bold;">Q: </span><%# Eval("FAQTitle") %><br /><br /> <span style="font-weight: bold;">A: </span><%# Eval("FAQText") %><br /><br /> </ItemTemplate>
Some feedback would be much appreciated.Code:int faqID = 0; var faq = from x in db.FAQs where x.FAQTitle == [this is where I'm having trouble] select new { x.ID };




Reply With Quote