When we are running the Application, if any errors occur in
the Stored Procedure then how will the server identify the
errors?
Answers were Sorted based on User's Feedback
Answer / sinthu vijay kumar
i think by using sqlexception handler
| Is This Answer Correct ? | 2 Yes | 0 No |
OleDbDataAdapter ole=new OleDbDataAdapter(new OleDbCommand ("select * from login",oleDbConnection1)); OleDbCommandBuilder cmd=new OleDbCommandBuilder(ole); ole.Fill(dataSet11,"login"); DataRow drow=dataSet11.Tables ["login"].NewRow(); drow[0]=textBox1.Text; drow[1]=textBox2.Text; drow[2]=textBox3.Text; dataSet11.Tables["login"].Rows.Add (drow); ole.UpdateCommand=cmd.GetUpdateCommand(); ole.Update(dataSet11,"login"); MessageBox.Show("one row added"); this gives exception.how to solve it
How to Handle the exceptions in Sqlsrver2000
How can we perform transactions in .net?
Define different execute methods of ADO.NET command object ?
What is ado and rdo?
What are the important features of ado.net 2.0?
How can you implement sub data grid in a master datagrid?
Explain the role of data provider in ado.net?
Which provider is used to connect ms access, oracle, etc…?
Can we bind one datareader wid two dropdown list?
Explain why edit is not possible in repeater?
What is the difference between statement and preparedstatement interface?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)