hellow to all i am installing an app that i had wrote in win98 , that have all the framework updates .. and every time i run the program i get this error Application has generated an exception that could not be handled process id=0xfff87f77 (-491657) , thread id=0xfff96927 (-431833)
microuser_2000
Posts
-
installing App in win98 -
Reading Data From Databasehellow .. i am trying to read data from the server ... i use DataReader .. but when i try to pick the date to the Date Control i have many problems ... i try myReader.GetValue() and i try myReader.GetDateTime() but i can't i always get error message that the data is wrong ! any help appreciated ..
-
Importing DataTable In SQL SERVER 2000thxx my friend i was doing things fine , but i should refresh the list in order to see the new tables .. thxx
-
Importing DataTable In SQL SERVER 2000Hellow to all .. i am trying to Import Data into my sql server 2000 , the data is Access database when i creat new database, i go to tables and go into the wizard i follow the steps and when i finsh i don't see any tables ... but if i import data to a database name Master , i can see the tables .. anyidea ? thxx for anyhelp ..
-
Returnig parametrs from sql statmenthellow to all .. i am trying to return a parameter from sql statment that i insert , how can i do it ? for example i have a sql statment that inset into a table i wanna when i insert a value to Return the indx that i just inset or created ... if anyone can please direct me or help me i will be thankfull ....
-
SQL Statmentyaa , i will try it .. anyway .. anyone have idea how can i pick the value that i had insert to a table .. i use the code that i show in the first message of this post in VB.NET and it work's fine . i don't know why in CS it don't work ...
-
SQL Statmenti saw the linkes that i gave me i don't see anything that i am doing wrong .. and if i validate the data in the forms befor i run the sql statment i can skep the injection attacks part ..
-
SQL Statmentok Pete so what do u suggest that i should do ... where do i find all the things that u told me about ? thank u ...
-
SQL StatmentHellow to all ... i am trying to run an SQL statment on my DB database i wanna pick from the statment a field after inserting i tried to run this code but i always recive this error " Multiple-step OLE DB operation generated errors .... " string SQLContract; int ContractIndx; ClsInfo Assist_Var = new ClsInfo(); try { SQLContract = "INSERT Contract( " + "ClientNum,ContractType,BDate,EDate," + "UDate,PDate,ContratOption,PropertyNum,"+ "HierMeters,MeterPrice,Remarks)" + "VALUES( " + txt_Client_Name.Text + "," + Assist_Var.PrepareStr("B") + "," + Assist_Var.PrepareStr(dtFromDate.Text) + "," + Assist_Var.PrepareStr(dtToDate.Text) + "," + Assist_Var.PrepareStr(dtChange.Text) + "," + Assist_Var.PrepareStr(dtLastPay.Text) + "," + Assist_Var.Val(txtYears.Text) + "," + Assist_Var.Val(txtPropertyID.Text) + "," + Assist_Var.Val(txtMeters.Text) + "," + Assist_Var.Val(txtMeterPrice.Text) + "," + Assist_Var.PrepareStr(txtRemarks.Text) + "); " + "SELECT @Indx = @@IDENTITY" ; OleDbConnection OleDbConn = new OleDbConnection(Assist_Var.SQLConnection()); OleDbConn.Open(); OleDbCommand OleDbCommand = new OleDbCommand(); OleDbCommand.CommandText = SQLContract; OleDbCommand.CommandType = CommandType.Text; OleDbCommand.Connection = OleDbConn; OleDbParameter MyPara = new OleDbParameter(); MyPara = new OleDbParameter("@Indx",OleDbType.Integer , 4); MyPara.Direction = ParameterDirection.Output; OleDbCommand.Parameters.Add(MyPara); OleDbCommand.ExecuteNonQuery(); ContractIndx = Convert.ToInt32(OleDbCommand.Parameters["@Indx"].Value); MessageBox.Show(ContractIndx.ToString()); OleDbConn.Close(); OleDbConn.Dispose(); OleDbCommand.Dispose(); } catch (Exception ex) { MessageBox.Show(ex.Message); } thxx to u ...
-
wrong---
-
from vb.net to C#hello sorry for the late reply , i wanna take the value of the indx after it has been inserted and to save it to use it in another statment ...
-
from vb.net to C#hellow to all .. i have a vb.net code that use ADO.NET i need to make it work on C# .. but when i write it down i got two erros ... i don't know why ! it is ado.net code it have to work in anylanguage . i got the error where the arrows are .. thxx to anyhelp .. { string SQLContract,SQLContractPay; int ContractIndx; ClsInfo Assist_Var = new ClsInfo(); SQLContract = "INSERT Contract( " + "ClientNum,ContractType,BDate,EDate," + "UDate,ContratOption,PropertyNum,"+ "HierMeters,MeterPrice,Remarks)" + "VALUES( " + txt_Client_Name.Text + "," + Assist_Var.PrepareStr("B") + "," + Assist_Var.PrepareStr(dtFromDate.Text) + "," + Assist_Var.PrepareStr(dtToDate.Text) + "," + Assist_Var.PrepareStr(dtChange.Text) + "," + Assist_Var.Val(txtYears.Text) + "," + Assist_Var.Val(txtPropertyID.Text) + "," + Assist_Var.Val(txtMeters.Text) + "," + Assist_Var.Val(txtMeterPrice.Text) + "," + Assist_Var.PrepareStr(txtRemarks.Text) + ");" + "SELECT @Indx = @@IDENTITY" ; OleDbConnection OleDbConn = new OleDbConnection(Assist_Var.SQLConnection()); OleDbConn.Open(); OleDbCommand OleDbCommand = new OleDbCommand(); OleDbCommand.CommandText = SQLContract; OleDbCommand.CommandType = CommandType.Text; OleDbCommand.Connection = OleDbConn; OleDbParameter MyPara = new OleDbParameter(); ------->>>> 'MyPara = new OleDbParameter("@Indx",SqlDbType.Int, 4); MyPara.Direction = ParameterDirection.Output; OleDbCommand.Parameters.Add(MyPara); try { OleDbCommand.ExecuteNonQuery(); ---->>>> 'ContractIndx = OleDbCommand.Parameters("@Indx").Value(); } catch (Exception ex) { MessageBox.Show(ex.Message); }
-
public variablehellow to all .. i am trying to creat a public variable in my forum that i could access it from othere forms .. but it is not working for me .. how can i creat it ... thxx
-
geting time from the serverhellow to all .. i wanna get the date and the time from the main server that i am connected to , how can i do this ? thxx
-
nested datagrids -
nested datagridshellow to all .. i am trying to build a nested datagrid in vb.net i was looking for codes and samples or for the method , i found some but didn't help me much ... any one have any idea where i can found help on this issue ? thxx
-
Crystal Report to PDFHellow to all , i am exporting a report to PDF Format when i open it in Acrobat 7 i got the report mixed and missing data , but when i open it in Acrobat 5 , i can read it in a right way ...
-
ValueMember in comboboxhellow to all .. i am trying to load data from a database in c# , but i am looking to be able in the combobox to select a valuemember , i saw a class that a member wrote nice idea , but is there any other way or simpler way like in the vb.net ? thxx
-
Matrix Reporthellow to all .. i am trying to build in crystal report , Matrix report , anyone have idea how to to this ? if so please send me a link , or tell me , thxx
-
ListViewyaa i know but it is bad idea when u are using the nodes number and when u move one the count get mixed up ..