Is entity framework better than ado.net?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More ADO.NET Interview Questions

What are the advantage of ado.net?

0 Answers  


What is the role of clr?

0 Answers  


Why do we serialize data?

0 Answers  


Explain what is datagrid with an example?

0 Answers   C DAC, CDAC,


What is Pooling? what is data pooling? what is sql pooling?

3 Answers   TCS,






What is ole in excel?

0 Answers  


Which method is used by command class to execute SQL statements that return single value?

0 Answers  


What are the 4 types of classes in ADO.NET?

5 Answers  


Define isolation?

0 Answers  


Can we do database operations without using any of the ado.net objects?

0 Answers  


How To Update A Column In A DataGrid Using C#.NET? I am getting InvalidCastException as (Specified cast is not valid) while updating 2nd column in a datagrid? Id,firstname,lastname are the three columns of my datagrid respectively. I wanted to edit the second column(lastname) and update it. I did the following code in DataGrid's updatecommand(),but failed to update ! Int varid=(int)DataGrid1.DataKeys[e.Item.ItemIndex]; TextBox lnm=(TextBox)e.Item.Cells[2].Controls[0]; string str=lnm.Text ; SqlCommand cmd=new SqlCommand("update customer set lastname='" + str + "' where id=" + varid + "",con); cmd.ExecuteNonQuery(); DataGrid1.EditItemIndex=- 1; DataGrid1.DataBind();

2 Answers   Mind Tree, TCS,


Explain why edit is not possible in repeater?

0 Answers  


Categories