how to add a style in datagrid
-
Hi , I want to add a style to the paricular row's text in datagrid....as my datagrid is directly take the data from store procedure.... datagrid2.datasource=ds; datagrid2.databind(); i want to add the style like whenever my mouse is over on that text i want to change the cursor as a hand. In the css file i created a style for the hand named "hand" ....that's the same i m using in the following code.... datagrid2.Items[i].Cells[1].Style.Add("onmouseover","hand"); plz help me.... Thanks..
-
Hi , I want to add a style to the paricular row's text in datagrid....as my datagrid is directly take the data from store procedure.... datagrid2.datasource=ds; datagrid2.databind(); i want to add the style like whenever my mouse is over on that text i want to change the cursor as a hand. In the css file i created a style for the hand named "hand" ....that's the same i m using in the following code.... datagrid2.Items[i].Cells[1].Style.Add("onmouseover","hand"); plz help me.... Thanks..
Hi, This box is not enough if I will discuss to you all about datagrid. I suggest you visit the following site and you will find all the solutions and code that you want. http://aspnet.4guysfromrolla.com/articles/042402-1.aspx http://wwww.datagridgirl.com Q1. datagrid2.Items[i].Cells[1].Style.Add("onmouseover","hand"); A1. Try to go to this page "MOUSEOVER coloring and CLick Datagrid" http://aspalliance.com/articleViewer.aspx?aId=30&pId=1 I hope this will help you. Good Luck /Dabuskol