Hi Imar, you have a good sense of humour apart from excellent programming skills.I really appreciate it.
Imar, First of all heartiest thanks for spending your valuable time on looking at my problems.I want to tell you that Iam not using HyperLinkField in my code.Instead hyperlink item gets created at runtime and also it is not necessary that all items will be hyperlink item. I have created the stylesheet as per your instruction and also tried to apply it on the gridview column where link is getting created dynamically but still the hyperlink item is underlined.Iam sending you the code how I applied your code snippet to my code for your consideration.
You sent me the following code snippet:
Anyway, you can simply do this with some CSS. Add a CssClass to the
hyperlink, like this:
<ItemStyle CssClass="MyClass" />
Then in your CSS file, you can define style definitions for MyClass and
MyClass:hover like this:
Though I created this stylesheet class in my project and
I applied your ItemStyle-CssClass="MyClass" to my code in the following manner
<asp:GridView ID="grdvw" runat="server" HeaderStyle-BackColor="Azure" AutoGenerateColumns="False">
<asp:BoundField DataField="LINK" HeaderText="LINK" HtmlEncode="false" ItemStyle-CssClass="MyClass" />
But its not working perfectly.
This is Additional.
Imar Iam a beginner in ASP.NET 2.0 and C# but the company on which Iam working expecting a lot from my side in spite of knowing that Iam a beginner.The timelines are very short but i need to any how meet that.Though I have been with VB
.NET beta version for a while but i dont have that much programming skills. All I want to ask you is that is there any method or learning technique by which I can learn ASP.NET 2.0 with C# in a very quick and efficient manner with implementation knowledge of all the key concepts of web and ASP.NET 2.0 programming.If there is any good book in your point of view feel free to mention it. Apart from all this, I also need your expert guidance which I hope you will keep on providing me.In fact if you are in India, I would like to take tuitions from you.
Pls do reply and again thanks for sparing your valuable time in reading this post.