Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Browsing all 1698 articles
Browse latest View live

Best practices for database design for a checklist?

Hey allI'm learning to develop using .NET Core and Angular, and am developing a WebApp to do this.  I'm trying to figure out what the best would to build a database is for a specific portion of the...

View Article


checking the value in a table.

let  I have a table called test and another table called  testTwo.I got a value (row) from table test which isrollNo. Now i want to check and compare that if there is any row called  rollNo exists in...

View Article


how to check boolean returned value in a condition in asp.net

I am getting a value rollNo from testA table and then I am checking the value in query that if the value matches to any row of my another table called testB. I am adding my query...

View Article

How to bind gridview using Entity Framework 6.0?

Hlo Professionals!I need the code how to bind gridview using entity framework 6.0 in asp.net C#Here is my codeAspx<div> <div style="margin-top:30px; margin-left:20px"></div>...

View Article

how to insert data using entity framework 6.0 in asp.net C#

Hlo professionals!I want to insert data using entity framework 6.0 in asp.net c#.

View Article


How to update data using entity framework 6.0?

helloam new in entity framework 6.0 concepti want to update the data in entity framework 6.0 by usingado.net i already provide table name in the coding namedmann please apply the updation operation in...

View Article

Linq Query Help | Between Condition in Left Join

Hey Guys,Can you please help me on below query how to convert this to LinqSelect * from billing.HeaderLEFT JOIN Billing.RangeDetails BD ON BD.HeaderId = H.ID AND Id.Quantity between BD.MinQty and...

View Article

A public method with the name 'Gv2_GetData' was either not found or there...

hellowhen i update the data in the gridview an error occur  in entity framework 6.0?A public method with the name 'Gv2_GetData' was either not found or there were multiple methods with the same name on...

View Article


EF 6 to EF Core conversion

I'm converting a web app from .net framework to .net core.We are using core 3.1 and ef core.I am moving everything over and I keep seeing this error:System.InvalidOperationException: Entity type...

View Article


How to select distinct value in dropdownlist?

Hlo Currently i want to select distinct from my database and display into my dropdownlist, but my code doesn't work well.Here Is my Code<div> public void Filldropdownlist()</div>...

View Article

Want to update data dynamically using entity framework in C#

Hlo Professionals!Here is my code<div> protected void BT_update_Click(object sender, EventArgs e)</div> <div>        {</div> <div>           </div> <div>...

View Article

Updating data through hidden field control using entity framework in c# error...

Hlo I want to update all records but  Error occur on Hiddenfield1.Value property. Errors are "Error CS0742 A query body must end with a select clause or a group clause". "Error CS0029 Cannot implicitly...

View Article

Foreign key not showing up in IntelliSense

I have a one-to-many relationship between LAs and LAApplications where the primary key of LAs is used as the foriegn key of LAApplications as a way of keeping track of who submits an application.In my...

View Article


Microsoft.Data.SqlClient.SqlTransaction.ZombieCheck() with EF Core

Hello everyone and thanks for the help in advance.  I am developing a .Net Core 3.1 web application that is an endpoint for a Twilio api service that receives update posts from the Twilio api.  The...

View Article

EF Core Failing on IDENTITY_INSERT is set to OFF

Hello,I am using EF Core and I have table that is being problem with inserting new records into one of my tables.All other tables have worked fine throughout my MVC web...

View Article


Best approach to show related aggregated database data in EFF

Hi  there:I'm showing in a jqgrid  complex queries from a database. Though the performance is okay as I don't retrieve all the data at once and the paging, sorting and search is performed in the server...

View Article

ADO.NET & MySQL - max_user_connections

Hi everyone,I have an issue with a legacy web-forms application that uses ADO.NET and MySQL.Quite often I get the error of 'max_user_connections' and talking through the issue with my web host, it...

View Article


error occur when run code execute scalar ?

hello sir  i want to display this code as entity base but execute scalar does not run in this case  an error occur i have also comment out the old code where i have tried in this case so how they can...

View Article

datareader threw an exception of type 'system.indexoutofrangeexception'

Hi,I have a ado.net code which was fetching user details from the db and displaying. It was working fine. Now its decided to enrypt them. Once the encryption is done, I get an error datareader threw an...

View Article

Tried to select question based on section id

Hi all I Tried to select question based on section id  and take the number of question from same table in database. for example I want to show the name of question with 4 possible answered base on...

View Article
Browsing all 1698 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>