fixing colums width in data grid

SANCHIT SHARMA

Active member
Joined
Jul 15, 2005
Messages
38
Programming Experience
10+
Hi

Need help in the following areas

1. On grid there is a provision to fix the min width needed. but at run time user can change the width. Here i want to put control that user should not be able to change the with at all.

2. In vb we handle null by using isnull
isnull(aaa,0) returns 0 where aaa value is null
nz(aaa,0) in MS access
NVL(aaa,0)in oracle

But not finding the way to handle same on VB.net.

3. we are using combobox. How to trace the old value.

In Access we can retrieve old value by aaa.oldvalue of a column. is there any same sort of feature in VB.net



Regards


Sanchit Sharma
 
1. See section 5.35: http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx

2. "If TypeOf myDataRow("fieldName") Is DBNull Then" or "If myDataRow("fieldName") Is DBNull.Value Then"

3. The Item property is overloaded. It allows you to specify which version of the fields data you want.
 
Back
Top