Forum: VB.NET 20 Days Ago |
| Replies: 4 Views: 354 try to check if it was handled by a try catch function before it reach to your designated exception error to show. Also check if the option show exception error is check/included. |
Forum: VB.NET 20 Days Ago |
| Replies: 1 Views: 243 if you want to update the database but you don't what data were modifiedin your grid, since you bound you grid to the dataset then use the dataset to check what are the changes being done in the grid... |
Forum: VB.NET Sep 23rd, 2009 |
| Replies: 9 Views: 17,535 Well I've try also the code below:
Dim openForm As Form = Nothing
For index As Integer = My.Application.OpenForms.Count - 1 To 0 Step -1
openForm = My.Application.OpenForms.Item(index)
... |
Forum: VB.NET May 25th, 2009 |
| Replies: 1 Views: 194 It depends on what criteria you have for the validation... like if you want the idnumber to be all numbers only, etc... |
Forum: VB.NET May 25th, 2009 |
| Replies: 6 Views: 398 In your second form make a constructor
Public Sub New(ByVal row As DataRow)
Me.InitializeComponent()
'Add the other initialization here...
End Sub |
Forum: VB.NET May 25th, 2009 |
| Replies: 10 Views: 616 use a loop that will check the mdichild's forms then close them and then open the form you wanted to open...
For Each frm As Form In Me.MdiChildren
frm.Close()
Next
Dim frm1 As... |
Forum: VB.NET May 25th, 2009 |
| Replies: 5 Views: 473 add also in your login checking about sql injection or else it will be easily to hack... |
Forum: VB.NET Feb 25th, 2009 |
| Replies: 6 Views: 1,308 first is what field is your primary key? is it the dept_code or dept_name?
Now, what you want is a little bit complicated WHEN your primary is the dept_code.
Why? because if your primary... |
Forum: VB.NET Jan 22nd, 2009 |
| Replies: 0 Views: 273 Hi Fellas,
Situation:
1. In your database table i.e customertable have 500 records/rows.
2. A datagrid in a form can shows 100 visible of rows.
"Since the datagrid can show 100 visible rows i... |
Forum: VB.NET Nov 5th, 2008 |
| Replies: 4 Views: 1,284 |
Forum: VB.NET Oct 30th, 2008 |
| Replies: 7 Views: 789 actually I don't understand what you mean...well but if you mean to show their different error messages in one messagbos only, maybe this would help.
Dim ErrMessage As String
If Lastname.Text... |
Forum: VB.NET Oct 30th, 2008 |
| Replies: 4 Views: 1,284 I want to make a usercontrol which is a combobox but the dropdown will be a grid. So far this is my code and my problem is that the grid wont show.
Namespace myComboBox
Public Class... |