在文本框中查找特定的字符串

问题描述:

我使用过formview,并且我想查找是否已在保存按钮的文本框中输入________,并保存有插入命令.

I have used formview and and i want to find find user has entered or not ________ in textbox at the save button and save has insert command.

它在这里不能这样工作.

这是询问者的期望:
1.< b>首先尝试</b>您想做什么!您可能会发现它并不难.
2.制定看起来像问题/无法解决的问题.

试试看,告诉他们是否遇到问题.
成员将很乐意为您提供帮助.


现在,看看这些并从这里开始:
MSDN:DataAdapter参数(ADO.NET) [ MSDN:SqlCommand.Parameters属性 [简单的ADO.NET数据库读取,插入,更新和删除使用C#. [ ^ ]
It does not work like this here.

Here is what is expected of enquirers:
1. <b>TRY first </b>what you want to do! You may find that it''s not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.


For now, look at these and start from here:
MSDN: DataAdapter Parameters (ADO.NET)[^]
MSDN: SqlCommand.Parameters Property [^]
Simple ADO.NET Database Read, Insert, Update and Delete using C#.[^]