|
-
January 6th, 2007, 11:30 PM
#1
In my form load event... check datatable column value...
On my form load event, I want to check the value of a particular column from the database till the End Of File and then perform a action. For ex: There is a column named 'SelectOption' in my datatable 'test' and I want to do some action if the value of the 'SelectOption' = 'Option1' till the end of file is reached. Hope am clear. Please help me on this regard. THank you!
-
January 7th, 2007, 12:24 PM
#2
Re: In my form load event... check datatable column value...
So where do you have the problem ???
in the form_load event open your dataset (as per usual method) and do your checks...
But just something to note, this will drastically effect the load time of your form...
Gremmy..
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
January 7th, 2007, 03:35 PM
#3
Re: In my form load event... check datatable column value...
What / How will be my check statement? I mean...
SelectOption(Database column name) = "Option1" till the end of the file. Please help me out.
-
January 7th, 2007, 03:40 PM
#4
Re: In my form load event... check datatable column value...
Am sorry, I forgot to ask this... You had mentioned "... this will drastically effect the load time of your form" and you are absolutely right. Let me explain you what am planning to do... On loading my main form (start form) based on the Date.Today... I want to dynamically add rows/values on to my database.
So what/how do you suggest on handling this out?
-
January 8th, 2007, 12:43 PM
#5
Do you find out the Grid inactive method?
[How to make the Grid inactive (not in focus) as long as the user clicks the Grid's cell?
I saw your question. I have the same problem.
if you solve this problem, send e-mail me, please.
or reply this or passed your quote.
-
January 8th, 2007, 03:13 PM
#6
Re: In my form load event... check datatable column value...
To open a ADO database look at this thread and i sugest reading over this thread for more information on this..
Gremmy..
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|