SOME VB.NET QUESTIONS

SOME VB.NET QUESTIONS

Post by tilak.neg » Sat, 07 Feb 2004 13:27:57


Q1. In ADO we have RecordCount Property of the RecordSet object. In
ADO.net what is the Replacement of RecordCount property?

Q2. How to create Hotkey in Tabcontrol of Visual basic.net.

Q3. If code is written in the control's validate event and next
control's causes validation is False.Now if you press Tab it will not
fire the validate event of the Active Control and focus goes to the
next Control.Now if you want to set the Focus to any other control it
fires the Validate event of the last Active Control whose Causes
Validation is TRUE.

Q4. If Form2 is called from Form1 you can successfully assign the
values to Form2 variables or Controls but if you want to fetch the
values of Form1 from Form2 it will not display correctly.



T.S.Negi
 
 
 

SOME VB.NET QUESTIONS

Post by Cor » Sat, 07 Feb 2004 16:27:48

Hi Negi,

Mostly it is better to seperate your questions in different message, not
everybody knows all.

If it is a datast
mydataset.tables(0).rows.count
??


I do not exactly understand what you mean but setting focus is
mycontrol.focus

The best way in my opinion is to make a class with shared properties.