473,505 Members | 14,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Search Policy Number

CAM
Hello,

I am using Visual Basic.Net 2008. In my form I have database file connected
to SQL 2008 Express. I want to have a text box where I can type in the
policy number and I will get the record that contains the policy number that
I just typed in my form. I just want a simple way to search for a field and
display the record. Can someone help me with the coding or suggest a
website to visit. Thank you in advance.

Cheers.

Oct 15 '08 #1
1 1020
Use Linq to SQL

Have a look at all what is written about that.

Mostly it is a problem how to start with that:

Go to your project,
Click on Add new Item and chooise Linq to SQL, a pane will be opened and you
can drag from your server explorer the table that you want on the left
surface.

For the rest follow what is written about Linq to Sql

Cor

"CAM" <al***********@ca.rr.comwrote in message
news:E4**********************************@microsof t.com...
Hello,

I am using Visual Basic.Net 2008. In my form I have database file
connected to SQL 2008 Express. I want to have a text box where I can type
in the policy number and I will get the record that contains the policy
number that I just typed in my form. I just want a simple way to search
for a field and display the record. Can someone help me with the coding
or suggest a website to visit. Thank you in advance.

Cheers.
Oct 15 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8760
by: Terence Shek | last post by:
Is there a way to set the application binding policy so that it always binds to the latest version of an assembly? I'm hoping there is a way to avoid updating the application's binding...
0
987
by: Scanner2001 | last post by:
I have a dll, which is version 1.0.0.23456, with the last part being the auto numbered part. It has been installed in the GAC and there are a couple of .net exe's using it. I now want to update the...
0
1415
by: Robert Oschler | last post by:
I read a while back that MySQL will only use one index per query. (If this is not so, please tell me and point me to a doc that gives a good explanation of MySQL's current index usage policy). ...
32
14762
by: tshad | last post by:
Can you do a search for more that one string in another string? Something like: someString.IndexOf("something1","something2","something3",0) or would you have to do something like: if...
6
1906
by: Michael | last post by:
I am running an application that requires "Full Trust" which is declared in the assembly. How do I trap for the System.Security.Policy.PolicyException that is raised by a local machines CAS if...
2
2174
by: jtyner | last post by:
I am trying to get QFE (Quick Fix Engineering) working with an assembly installed in the GAC. I have two books that claim if two different version of the assembly are installed in the GAC -AND-...
1
1482
by: jl2886 | last post by:
First question: I have an assigned ID that is based on the month and year and then the numbered case. For example, If a new policy came in in March of 07 and he was the 67th person who was entered...
4
1412
by: jl2886 | last post by:
LSI Case Number is an ID. It is constructed by "the month (1 or 2 digits) &theyear(2digits) & "-" & three digit number. I want to create a search for it on a form. In the following code the...
5
1990
by: Terry Olsen | last post by:
To comply with corporate policy banning the storage of social security numbers on computers, I have been asked if I can search for files & emails that contain social security numbers. I thought...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.