| Other ADO.NET Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How would u connect to database using .NET? | TCS | 2 |
| What is dataset and tell about its features. What are
equivalent methods of previous, next etc. Of ADO in ADO.NET ? | Digital-GlobalSoft | 1 |
| what is a dataview?why is it used for? | Choice-Solutions | 3 |
| What is the key feature of ADO.NET compared to ADO ? | TCS | 2 |
| i have two textboxes one for user name and another for
password . i have a table name compare(which contains
name,passwod etc.,)my doubt is how compare username
textbox with name column and how compare password textbox
with passwod column. i want the code | Wipro | 3 |
| How to find the count of records in a dataset? | | 4 |
| Call a stored procedure from ado.net and pass parameter to it ? | Keane-India-Ltd | 5 |
| What are the attirbutes of DataSet? | IBM | 4 |
| Sequence to connect and retrieve data from database useig
dataset ? | MMTS | 3 |
| Why sql Data Reader object not created | Matrix | 2 |
| Differnce between Stored procedure and user defined functions? | Microsoft | 13 |
| what is clustered index?why is it created? | Microsoft | 3 |
| What is the provider and namespaces being used to access
oracle database? | Microsoft | 2 |
| What is a datatable? | SBI | 3 |
| how would i implement dropdownlist in gridview using c# | | 2 |
| what is data Adapter? | IBM | 12 |
| What happens when we issue Dataset.ReadXml command? | | 1 |
| How do you merge two datasets into the third dataset in a
simple manner? | IBM | 1 |
| What are advantages and disadvantages of Microsoft-provided
data provider classes in ADO.NET? | | 1 |
| 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(); | Mind-Tree | 1 |
| |
| For more ADO.NET Interview Questions Click Here |