Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i control the datagridview data in 2 feild not s
Message
From
10/11/2011 21:36:08
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01528543
Message ID:
01528640
Views:
31
ok, thank you for apply me first.

But i also find the special problem. I have a dategridview and 3 fields (DataGridViewComboBoxColumn, DataGridViewComboBoxColumn , DataGridViewTextBoxColumn)
Include currency master and currency exchange rate 2 table.
for example, record. Currid currid2 exrate
-------------------------------------------------------------
USD HKD 7.8
HKD RMB

1. How to use your code to check if currid again entry USD is ok , but entry USD , HKD pop error duplicate.
2. Why use DataGridViewComboBoxColumn control, i can't use e.FormattedValue in dg.CellValidating to checking,
even i select the HKD , then i set break point to see, it also e.FormattedValue =" " .
How to check empty in dg.CellValidating method.


Thank you ~~~
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform