|
|
|
про переменную session
|
|||
|---|---|---|---|
|
#18+
про переменную session: private void Page_Load(object sender, System.EventArgs e) { if (Page.IsPostBack) { ds = Session["Ds"]; } else { da2.Fill (ds, "Data_D"); DropDownList1.DataBind (); da.Fill (ds, "Data_C"); Session["Ds"] = ds; DataGrid1.DataBind (); } } выдает ошибку: "c:\inetpub\wwwroot\Products\Default.aspx.cs(35): Cannot implicitly convert type 'object' to 'Products.DataSet1'" где: protected Products.DataSet1 ds; и : this.ds = new Products.DataSet1(); что здесь не так? в примерах именно так и указано (во всяком случае в тех, которые я смог найти). ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.03.2005, 17:03 |
|
||
|
|

start [/forum/topic.php?fid=18&gotonew=1&tid=1394270]: |
0ms |
get settings: |
9ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
170ms |
get topic data: |
5ms |
get first new msg: |
3ms |
get forum data: |
1ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 246ms |
| total: | 484ms |

| 0 / 0 |
