Книги, научные публикации Pages:     | 1 |   ...   | 8 | 9 | 10 | 11 |

David Sceppa Microsoft' ADO.NET Microsoft Press Дэвид Сеппа Microsoft ADO.NET ...

-- [ Страница 10 ] --

Visual Basic.NET If ViewState("LastVisit") Is Nothing Then IblLastVisit.Text = "This is your first visit! Welcome!" ViewStateC'LastVisit") = Now.ToString Else IblLastVisit.Text = "Welcome back. Your last visit was: " & _ ViewStateC'LastVisit") ViewStateC'LastVisit") = Now.ToString End If Visual C# -NET if

ViewState["LastVisit"] = DateTime.Now.ToStringO;

i else { IblLastVisit.Text = "Welcome back. Your last visit was: " + ViewState["LastVisit"];

ViewState["LastVisit"] = DateTime.Now.ToStringO;

at a naine="'3Ei4ERAT.JR ' cent e-rt -'Micrcsc-t visual studio.NET 7. 0 " conteim-" //schemes. 4i1crD5oft.com/1meni sense/ body MS^PQSITIONING-"Gr1dLayOUl:"> Хdriput 1 type-"Mdden" name-11 VIEMSTATE" alue. db*tMTU30DAzNTQ4MDtOPлsPGk8MT47Pjt5pHqeo;

w8aTwxP]s+o;

8dDi"PHABQDxu2xhOOZ47bDx>ZVix1b;

ni helghT-.27ps;

w(dth:419px;

7-TNDEX: 101;

LEFT: 22pл;

POSITION: absolute;

TOP: 24px">wel aaek. Your lasi visit was: 3/22/2002 1:59: !РИ