C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

how can i make table dynamicaly?


Posted Date: 24 Sep 2008      Posted By: kiran      Member Level: Silver     Points: 1   Responses: 1



i have 2 text box, when i click genarate table button,
it shoud genarate table with textbox1.text and textbox2.text in 2 collumns


kiran



















Responses

Author: vijaya    24 Sep 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 5

Hi Kiran,
DataTable dtIPEdit=new DataTable();

DataRow dr;

dr = dtIPEdit.NewRow();
dr[0] = idVal + 1;
dr[1] = TxtFromIP0.Text.ToStrin();
dr[2] = TxtToIP0.Text.ToString();
dtIPEdit.Rows.Add(dr);



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : how to know what edition of vs2005 using in my computer
Previous : HashTable
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use