ASP.NET tips

xiaoxiao2021-03-06  125

First, how to make the password box display password

Write this statement when Formload: txtpwd.attributes.add ('Value', '1234').

Second, display the picture in the database in the DataGrid, want to have a picture record to display the picture, no picture record does not display pictures

Public Function ImageVisiable (Byval Imagename As String) AS Boolean IF Trim (ImageName) .length> 10 THEN RETURN TRUE ELSE RETURN FALSE END IF END FUNCTION

ImageURL = <% # TRIM (databinder.eval (container.DataItem, "imagename")). Tostring%>>>>>>

Third, open a new window:

Response.write ("