Member Avatar

Anyone help me to create one form with C# WPF which use LINQ TO SQL with SQL Server.


Form has 2 textbox and 1 image in WPF

SQL Server Database


EmpID - int
Firstname - nvarchar(10)
Lastname - nvarchar(10)
Image - image, varcharmax or whatever you use

dont forget i need to use linq to sql not any other

if anyone do it will help me a lot

You can use WPF with the inbuilt designer to put the controls on there. LINQ to SQL you can use by defining your entities in C# and then creating a DataContext to your database. You would then query it using LINQ.

I suggest you read Here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.