Click here to Skip to main content
15,918,976 members
Home / Discussions / Database
   

Database

 
GeneralRe: Error upon login Pin
MrPlankton24-Jan-08 10:31
MrPlankton24-Jan-08 10:31 
GeneralRe: Error upon login Pin
samerh24-Jan-08 19:34
samerh24-Jan-08 19:34 
QuestionWhat is Wrong with the Following Procedure Pin
Vimalsoft(Pty) Ltd23-Jan-08 20:08
professionalVimalsoft(Pty) Ltd23-Jan-08 20:08 
AnswerRe: What is Wrong with the Following Procedure Pin
Joe23-Jan-08 23:58
Joe23-Jan-08 23:58 
AnswerRe: What is Wrong with the Following Procedure Pin
Vimalsoft(Pty) Ltd24-Jan-08 0:14
professionalVimalsoft(Pty) Ltd24-Jan-08 0:14 
GeneralRe: What is Wrong with the Following Procedure Pin
Joe24-Jan-08 1:49
Joe24-Jan-08 1:49 
General'Parameter1' is missing a value .rdlc report error Pin
Member 470022523-Jan-08 17:55
Member 470022523-Jan-08 17:55 
Generalcode for transfering data from access to Sql server,giving error SqlException Pin
Cuckoo23-Jan-08 17:44
Cuckoo23-Jan-08 17:44 
private void button1_Click(object sender, System.EventArgs e)
{
OdbcConnection myconn = new OdbcConnection("DSN=test");
SqlConnection conn = new SqlConnection("server=.;database=techpaymaster;uid=sa;password=;Pooling=false;Connect Timeout=55;");
OdbcCommand da = new OdbcCommand("select * from tinfo",myconn);
myconn.Open();
OdbcDataReader dr=da.ExecuteReader();
while(dr.Read())
{
string i =(string)dr["Name"];
int j =(int)dr["Age"];
conn.Open();
SqlCommand cmd = new SqlCommand("insert into sadd(Namee,Agee)values('"+i+"',"+j+")",conn);
cmd.ExecuteNonQuery();
}


it is showing the message

An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll

Additional information: System error.

modified on Thursday, January 24, 2008 1:28:54 AM

GeneralRe: code for transfering data from access to Sql server,giving error SqlException Pin
pmarfleet23-Jan-08 19:48
pmarfleet23-Jan-08 19:48 
GeneralRe: code for transfering data from access to Sql server,giving error SqlException Pin
Paddy Boyd24-Jan-08 2:20
Paddy Boyd24-Jan-08 2:20 
GeneralUpdate with Addition Pin
Expert Coming23-Jan-08 14:47
Expert Coming23-Jan-08 14:47 
GeneralRe: Update with Addition Pin
pmarfleet23-Jan-08 19:46
pmarfleet23-Jan-08 19:46 
GeneralRe: Update with Addition Pin
Paddy Boyd24-Jan-08 2:21
Paddy Boyd24-Jan-08 2:21 
QuestionIs there a way to optimize this query and get the same results? Pin
Skanless23-Jan-08 11:21
Skanless23-Jan-08 11:21 
AnswerRe: Is there a way to optimize this query and get the same results? Pin
PIEBALDconsult23-Jan-08 14:30
mvePIEBALDconsult23-Jan-08 14:30 
GeneralBuilding up a query string Pin
ssTahoe23-Jan-08 7:48
ssTahoe23-Jan-08 7:48 
GeneralCreating a CLR User Defined Type for Time only Pin
AAGTHosting23-Jan-08 7:25
AAGTHosting23-Jan-08 7:25 
GeneralHelp in Stored Procedure sqlserver Pin
aaraaayen22-Jan-08 20:55
aaraaayen22-Jan-08 20:55 
GeneralRe: Help in Stored Procedure sqlserver Pin
pmarfleet22-Jan-08 22:07
pmarfleet22-Jan-08 22:07 
GeneralRe: Help in Stored Procedure sqlserver Pin
KANGAROO_22-Jan-08 22:25
KANGAROO_22-Jan-08 22:25 
GeneralRe: Help in Stored Procedure sqlserver Pin
andyharman22-Jan-08 22:34
professionalandyharman22-Jan-08 22:34 
GeneralRe: Help in Stored Procedure sqlserver Pin
aaraaayen22-Jan-08 23:31
aaraaayen22-Jan-08 23:31 
GeneralRe: Help in Stored Procedure sqlserver Pin
aaraaayen23-Jan-08 0:02
aaraaayen23-Jan-08 0:02 
GeneralAttaching an .MDF file without an LDF file Pin
ffowler22-Jan-08 11:25
ffowler22-Jan-08 11:25 
GeneralRe: Attaching an .MDF file without an LDF file Pin
Mike Dimmick23-Jan-08 12:40
Mike Dimmick23-Jan-08 12:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.