读取名称时出错 [英] error during reading the names

查看:71
本文介绍了读取名称时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我制作了一个程序,其中我要打印名称,但是当名字如女性的包含这个 ''签名它会产生语法错误

如何删除此错误,因为我必须以相同的方式打印此名称

Hi!
i made a programe in which i want to print the names but
when the names like " Women''s " which contain this " '' " sign it produces the syntax error
how can remove this error because i have to print this name in the same way

推荐答案

您好,


对TextBox进行输入验证..不允许用户输入''

在TextBox的KeyPress事件中编写此代码:

Hi,

Do Input Validation for the TextBox.. Dont Allow User to Enter ''
Write This Code in KeyPress Event of the TextBox:

展开 | 选择 | Wrap | 行号


嗨!

实际上我正在访问已经存在的文件有这些名字

并通过我的程序我做了一些改变,然后打印所有这些名字

谢谢


Hi!
Actually i am accessing a file which already have these name
and through my programe i did some changing and then print all these names
thanks






TextBox的输入验证..不允许用户输入''

在TextBox的KeyPress事件中编写此代码:

Hi,

Do Input Validation for the TextBox.. Dont Allow User to Enter ''
Write This Code in KeyPress Event of the TextBox:

展开 | 选择 | Wrap | 行号


您好,


因此您在SQL Select语句中收到错误..?

在这里打印Select语句..


REgards

Veena
Hi,

So you are getting error in SQL Select Statement..?
Print the Select statement here..

REgards
Veena


这篇关于读取名称时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆