开发者

Insert Item Template in Asp.NET

开发者 https://www.devze.com 2023-03-14 19:50 出处:网络
What I want is How to have a Insert Item Template in Asp.NET. Like in a Add User Page.I Get Automatically All the Items and the Text Boxes After That.

What I want is How to have a Insert Item Template in Asp.NET. Like in a Add User Page.I Get Automatically All the Items and the Text Boxes After That.

And the Create User Button in the end.

The same i Want .All Items along with the Text Boxes And the Insert Button At the End.And the Items should开发者_运维百科 be Inserted into the Database.

What I Want is to permanently Display the Insert Item Page.

For Ex:- In Case of Students :

FisrtName:----------- MiddleName:---------- LastName:------------

Without Any Button Been Clicked. Like a AddStudent Page or Create Student Page.

I Think You Got My Point

Thanks in Advance.


If it's a FormView as you've commented, you should call FormView.ChangeMode(FormViewMode.Insert):

Me.FormView1.ChangeMode(FormViewMode.Insert)
Me.FormView1.DataBind()
0

精彩评论

暂无评论...
验证码 换一张
取 消