473,408 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Validating data in datagrid

Pleas advise me how to do validations in side datagrid before updating
the details into database.

I am using VB.NET and updating the datagrid using sqlcommandbuilder.

I want to validate the data that user changhes inside the grid. How
can I do this?
Pls help...

Regards,
Omav
Jul 21 '05 #1
1 1529
Hi,
You have some events from which to choose to do your
validating, all the way from the keystroke level to the
full datagrid level. Some events to consider are
CurrentCellChanged, TextChanged, Validated, Validating,
KeyDown, KeyUp, and KeyPress. Carol
-----Original Message-----
Pleas advise me how to do validations in side datagrid before updatingthe details into database.

I am using VB.NET and updating the datagrid using sqlcommandbuilder.
I want to validate the data that user changhes inside the grid. Howcan I do this?
Pls help...

Regards,
Omav
.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Morné | last post by:
Hi how do I validate a text value in a datagrid e.g. the user is only allowed to type in a Y or a N. I specifically have a problem with using the PropertyDescriptorCollection. I get the...
2
by: Angel | last post by:
How can I validate the source of the data in a textbox? In my program, the text in textboxY can be changed by the user typing in data or by the user double-clicking a datagrid (which will copy the...
0
by: enahar | last post by:
I want to validate a cell wheather a value is greater than 0 or not.If value is greater than 0 then I want to show messagebox and focus back the same cell else move to the other cell. I am...
0
by: Ante Perkovic | last post by:
Hi, After long search of the internet, I couldn't find any solution on validating a datagrid. I have textboxes and validators (required field) in <editItemTemplate> and labels in <ItemTemplate>....
1
by: philipl | last post by:
hi, i have a datagrid which display custom controls when user clicks edit, changing data. I am using customvalidator to validate this control. I can get validation of user input to work no...
0
by: Gary Shell | last post by:
I am experiencing some strange behavior between a UserControl's validating event and a treeview control. Initially, I thought it was related to an issue in the Knowledgebase article 810852...
1
by: Omavlana | last post by:
Pleas advise me how to do validations in side datagrid before updating the details into database. I am using VB.NET and updating the datagrid using sqlcommandbuilder. I want to validate the...
3
by: Devlei | last post by:
I have a column in a datagrid that I want to limit the values to integers from 1 to 5. What is the best way to do this? The datagrid is bound to a typed dataset that is populated from an XML...
4
by: hkarthik | last post by:
hi all, I added a checkbox inside my datagrid. This checkbox is generated automatically depending on the data's inside my datagrid. So the problem that occurs now is all the checkboxes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.