Creating a scrollable DataGrid
When you create a DataGrid, it would be often good to specify its height, and have the DataGrid show a scrollbar if the content is longer than the given height.
When you create a DataGrid, it would be often good to specify its height, and have the DataGrid show a scrollbar if the content is longer than the given height.
Anybody programming with ASP.NET knows that you can store custom application’s settings in the web.config file, under the section, and programmatically read the values through the ConfigurationSettings class. When the
ASP.NET 1.1 automatically validates input posted to the server against a list of potentially dangerous strings (the values are hard-coded, unfortunately, it would have been nice to be able to
When you create a custom Windows or Web control, compile it and add it to the Visual Studio .NET’s Toolbox, the control is added to the toolbox with a default
This algorithm prints the bits from low to high order: #include using namespace std;int main() { int n; // number to convert to binary while (cin >> n) { if
This a very secure and unique way to override equal() and clone() a method of an object. class MyClass { public boolean equals(MyClass o) { boolean retVal = false; if(o
‘ Add a member to a COM+ application’s role, and return True if the operation ‘ is successfull’ Note: requires a reference to the COM+ Admin Type Library” Example: AddComPlusAppRoleMember(“MyComPlusApp”,
‘ Delete a COM+ application, and return True if the operation is successfull’ Note: requires a reference to the COM+ Admin Type Library” Example: DelComPlusApplication(“MyComPlusApp”, “”)Function DelComPlusApplication(ByVal applicationName As String,
‘ Delete a role from a COM+ application, and return True if the operation is ‘ successfull’ Note: requires a reference to the COM+ Admin Type Library” Example: DelComPlusAppRole(“MyComPlusApp”, “MyTestRole”,