且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在ASP.NET中的多行文本框中搜索每个新行字

更新时间:2023-12-04 13:27:34

请点击以下链接:



http://msdn.microsoft.com/en-us/library/6c3yckfw%28v=vs.100%29.aspx [ ^ ]

http:// ***.com/questions/11589232/passing-data-between-two-usercontrols-in-asp-net [ ^ ]

http://***.com/questions/363899/passing-values-between-web-user-controls [ ^ ]

http://***.com/questions/376366/passing-value-between-web-user-controls-differentquestion [ ^ ]



下次请指定语言(C#,VB等)
Fallow below links:

http://msdn.microsoft.com/en-us/library/6c3yckfw%28v=vs.100%29.aspx[^]
http://***.com/questions/11589232/passing-data-between-two-usercontrols-in-asp-net[^]
http://***.com/questions/363899/passing-values-between-web-user-controls[^]
http://***.com/questions/376366/passing-value-between-web-user-controls-differentquestion[^]

Next time, please, specify language (C#, VB, etc.)


我想***的方法是:



包括您用于搜索的查询if if if if then然后在数据列表中显示图像其他按钮点击写入

i guess the best way is :

include the query that you are using for your search in if block if success then show image in data list else on button click write
Label1.Text = TextBox1.Text; 





查看此链接,了解如何从文本框中填充标签

http://www.dotnetfunda.com/tutorials/controls/label.aspx [ ^ ]


尝试使用CheckBoxes。

因此没有错误的值,可以进行多项选择。



如果你不能,你可以比较这些值与数据库中的那些,如果没有找到,那么你可以显示错误信息。



希望这有帮助。
Try to use CheckBoxes.
So there will be no wrong values and multiple selection can be done.

If you can''t, you have compare the values with those from database and if not found, then you can display the error message.

Hope this helps.