Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change DataGridViewColumn behavior
Message
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01507121
Message ID:
01507139
Views:
28
>>I don't want to have NULL values when I empty the value of the column.
>>I want when the user empty the value to have an empty string in it :-)
>>How to do this?
>>
>>Thanks in advance.
>
>You could try:
dataGridView.Columns[x].DefaultCellStyle.NullValue = String.Empty;
>But I dunno if it will work :-{

Thank you Viv,
but no, it didn't work :o(
I could handle this in CellFormating, but I thought there is a better solution :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform