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


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Tree view

Posted By: Karthikeyan Anbarasan     Posted Date: December 27, 2010    Points:2   Category :ASP.Net
I have a treeview with datas populated, i want to export that datas to excel like we do for Gridview.

Responses
Author: krishana singh             
Posted Date: December 27, 2010     Points: 5   

use tree view and with use web brower in window application

tree view node name and tag add

then after

private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
//TreeNode nName = e.Node;
//string webpage = "";
//webpage =(string)nName.Tag;
//if (webpage != "")
//{
// webBrowser1.Navigate(webpage);
//}
}

Author: krishana singh             
Posted Date: December 27, 2010     Points: 5   

tree view node name and tag add

then after

private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
//TreeNode nName = e.Node;
//string webpage = "";
//webpage =(string)nName.Tag;
//if (webpage != "")
//{
// webBrowser1.Navigate(webpage);
//}
}
this control use with web browers

Author: Karthikeyan Anbarasan       [Moderator]      
Posted Date: December 29, 2010     Points: 5   

Hi,
this code will not do the export to excel?


Thanks
Karthik
http://www.f5debug.net
Mark as Answer if the answer solves your issue!!!


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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