如何在asp.net C#中将表的ID传递给另一个表. [英] How to pass id of a table to another in asp.net C# .

查看:153
本文介绍了如何在asp.net C#中将表的ID传递给另一个表.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
我有一个网页,它有2个div,一个用于项目添加,另一个用于单位添加.
如何使用C#在asp.net中将单位表的ID传递到项目表.

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#.

推荐答案

您也可以使用Properties.
例如.
第一页
You can also use Properties.
eg.
First Page
private int id;
      public int Id
      {
          get { return id; }
          set { id = value; }


}

可能会有所帮助,
Theingi Win.


}

May be helpful,
Theingi Win.


这篇关于如何在asp.net C#中将表的ID传递给另一个表.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆