Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
make it quick.please i need answer in simple format.
Posted
Comments
Richard C Bishop 25-Apr-14 13:00pm    
That is not how it works here. Besides, are all search engines broken?
Kschuler 25-Apr-14 13:50pm    
Particular column of what? What kind of project are you working on? What have you tried so far?
Member 10775385 25-Apr-14 14:04pm    
student name column working in student details project plz help.
Kschuler 25-Apr-14 14:06pm    
I have no idea what student details project is. If you really want help you need to explain further. We have no background knowledge of your project or your setup or anything. What code do you have so far? How is it failing to work? Are you getting any error messages and if so, what are they?
Member 10775385 25-Apr-14 14:12pm    
particular column as studentName in a project should not to allow the numeric values it should allow only alphabets.this is what i want...

Try:
^[^\d]+$


Quick.
Simple.
Works - the version with the code to actually use it in your VB app is up to you, since you were so rude in the original question.
 
Share this answer
 
Comments
Member 10775385 25-Apr-14 14:03pm    
plz send in a vb.net format..
[no name] 25-Apr-14 14:14pm    
Who is "plz"? How is this not "vb.net" format?
Member 10775385 25-Apr-14 14:36pm    
.Columns("StudentName").valuetype = decimal.actually it allows numbers.but i need to allow only alphabets not numbers.please send solution for this.
for that you can write some javascript function to validae that before submiting the form to server
or can use regular expresession on the server side like

C#
function isString(s)
{
  return s.match("^[a-zA-Z\(\)]+$");
}
 
Share this answer
 
Comments
Member 10775385 25-Apr-14 14:31pm    
iam a gridview in that i need to set a particular column should allow only alphabets not to allow
numbers.this is for allow numbers .Columns("StudentName").Valuetype =decimal.but i need to allow alphabets only .what to do please help me..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900