22/06/2013 by Nitesh

How to Disable Mouse Scroll in DevExpress LookupEdit Control

Friends, LookupEdit is another one of the most commonly used controls in DevExpress WinForms library as it resembles the default ComoboBox control provided in the default .Net Toolbox. As compared to normal Combobox control, you can display rows of data in a LookupEdit Control. The control by default support AutoComplete feature so when you start…

Continue Reading »

03/06/2013 by Nitesh

How to Disable Mouse Scroll in DevExpress TextEdit Control

Dear Friends, TextEdit is one of the most commonly used controls in DevExpress WinForms library as it resembles the default TextBox control. You can set the TextEdit’s properties to allow restricted entries like only numeric numbers, only numbers with 2 decimal places, currency format etc using the DisplayFormat and EditFormat properties.  If the control’s property…

Continue Reading »

18/12/2012 by Nitesh

Solution: ExecuteNonQuery() always returning -1 when calling a Stored Procedure

Friends, This post details another solution to a very basic problem that we face in our development and tend to miss writing Stored Procedures. We know ExecuteNonQuery() function defined in the SqlCommand class returns the number of rows affected by the query we are executing. Sometimes, when calling a Stored Procedure using the ExecuteNonquery() from…

Continue Reading »

19/09/2012 by Nitesh

Solution – Cannot serialize the DataTable. DataTable name is not set

.Net Library provides a very easy way to generate the XML schema of any dataset/data table using the WriteXmlSchema(). For this, we need to execute the following code: dt.WriteXmlSchema(“sample.xsd”) Using the above code, the schema of the datatable dt will be retrieved and saved in sample.xsd file. However, sometimes using the above code throws an…

Continue Reading »

09/05/2012 by Nitesh

How to Change Startup Form in VB .Net Windows Application

Today, I was working on a demo VB.Net windows application and going the Visual studio way, I added a new Windows Form Application in VB.Net. It created a default Form1.vb form with start up items. I added a new form MainForm.vb and then I wanted to change the application start up form to MainForm.vb from…

Continue Reading »

1 2 3