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...
SORRY FOR THE TYPO, please ignore previous thread. the question is
How can i create a DataGrid Column without 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.
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.
Hi Kris11
i did use Browsable(False) while declaring property, but it still shows up in Property Windows? what am i doing wrong here's my code
Imports System.ComponentModel
<Browsable(False)> _
Private iMaxLength As Int32 = 10
Public Shadows ReadOnly Property MaxLength() As Integer...
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???
what i am trying to achieve here is to stop focus moving into cells of DataGrid.
I want my DataGrid to behave same as VB6 DataGrid??? Any clues how to achieve that???
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...
where is application settings section is that my .config file do u mean?
will i be writing the following code in my .config file?
<!-- application specific settings -->
<appSettings>
<add key="ConnectionString" value="server=you server;User ID=sa;pwd=passowrd;database=dbname" />...
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???
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.