How can achieve the following with Select Case Statement.
'Validate data.
If txtFirstName.Text = "" Then
MessageBox.Show("Please provide First Name", "Information", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
txtFirstName.Focus()
Exit Sub...
is there anyway i can make my DataGrid behave same as VB6 DataGrid.
i.e. highligthing rows with Up and Down arrow keys, highligthing row with mouse click.
i don't want cursor to tab into DataGrid cells.
Please help!!!!
How can i create a DataGrid Column with TextBox in it.
Is there a way to get rid of underlying TextBox in DataGridTextBoxColumn.
What i am trying to achieve here is: to prevent cursor from tabbing into cells of the DataGrid.
I am developing an application using VB.NET and SQL Server 2000. SQL Server is locally installed on my machine.
My application is creating a connection even though if I omit Server and just provide Password and User Id, why is it so? Does it defaults to local server???
I am developing an application using VB.NET and SQL Server 2000. SQL Server is locally installed on my machine.
My application is creating a connection even though if I omit Server and just provide Password and User Id, why is it so? Does it defaults to local server???
Question 1
I am binding a DataGrid to DataSource as follows:
DA = New SqlDataAdapter("SELECT * FROM Employees", myConn)
DA.Fill(DS, "Employees")
myDataGrid1.SetDataBinding(DS, "Employees")
Does a TableStyles gets created in this case?
Question 2
How to ascertain how many TableStyle exists...
This might sound funny, but this is what is happening:
I have a form with a tab control (tabMain) and 4 tabpages (tpage1, tpage2, tpage3, tpage4) on it. Further on the fourth tabpage (tpage4) i have another tab control (tabSub) with 4 tabpages (tsubpage1, tsubpage2, tsubpage3, tsubpage4) on it...
I have a form with tab control on it. i am getting the following error when ever i close the form in design mode:
InvalidOperstionException. Cannot call invoke or InvokeAsync on a control until the window handle has been created.
What does it means and why is it occurring???
i am getting this error whenever i close my project.
InvalidOperstionException. Cannot call invoke or InvokeAsync on a control until the window handle has been created.
what does it means????
am creating a custom TextBox control. I want to restrict the user from changing the value of Maxlength property. Is there any way I can override the Maxlength property and make it ReadOnly. Or is there any other way to do it?
I am having this problem since long, but no one seems to have worked out any solution for it. I tried to scour through many articles but haven't got an answer yet. PLease help me with this.
I have written the following code to highlight the row when a user press up-down arrow key.
Private Sub...
How can i achieve the below, using Select Case statement
Private Sub optInterestOnly_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optPandI.CheckedChanged, optInterestOnly.CheckedChanged
If optPandI.Checked = True Then
'Do Something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.