.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

datagid

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :.NET Framework
 
can i get excel features i.e draging values in multiple rows, in datagrid 2.0


View Complete Post


More Related Resource Links

change this Datagid code to Gridview code

  

hello

How can we change this code for use in Gridview

this code is for datagrid

-------------------------------------------------------------

private void gridPopup_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
        {
            
                if (e.Item.DataItem != null)
                {
                    e.Item.Attributes.Add("onmouseover", "ShowTooltip('" + 
                        DataBinder.Eval(e.Item.DataItem, "client_name").ToString() + "','" + 
                        DataBinder.Eval(e.Item.DataItem, "Address").ToString() + "','" + 
                        DataBinder.Eval(e.Item.DataItem, "CITY").ToString() + "','" + 
                        DataBinder.Eval(e.Item.DataItem, "STATE").ToString() + "', '" + 
                        DataBinder.Eval(e.Item.DataItem, "PHONE").ToString() + "','" + 
                        DataBinder.Eval(e.Item.DataItem, "FAX").ToString() + 
                        "');"); 
                    e.Item.Attributes.Add("onmouseout","HideTooltip();");
                }
            }


-----------------------------------

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend