| |

VerySource

 Forgot password?
 Register
Search
View: 647|Reply: 2

Datalist Template Question: How to switch?

[Copy link]

1

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-30 20:00:01
| Show all posts |Read mode
See example is added editcommond,
I don't want ItemTemplate, but show EditItemTemplate directly, how do I write it?
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-3-8 18:30:02
| Show all posts
Show EditItemTemplate directly
==>
Show EditItemTemplate only when editing
. Set the editindex to a row when binding for the first time. If you want every line to be like this.

Add textbox to ItemTemplate
Reply

Use magic Report

1

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-7-22 14:45:01
| Show all posts
Thank you upstairs, I originally thought that there is no need for editing, so I just change it and save it again. It seems that I have to change it line by line
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list