Click here to Skip to main content
15,893,644 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
I have got a web page,it has has got 2 div one is for project add and another for units add.
How to pass id of units table to project table in asp.net with C#.
Posted
Comments
luisnike19 3-Mar-11 0:09am    
What about sessions?
Albin Abel 3-Mar-11 0:25am    
both are in the same page right. So once units added get that id and use for project add. What was the issue?

1 solution

You can also use Properties.
eg.
First Page
C#
private int id;
      public int Id
      {
          get { return id; }
          set { id = value; }

}

May be helpful,
Theingi Win.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900