|
|
|
Thanks Christian, but I'm pretty sure it has nothing to do with the database layer "Oracle in this case".. it's just the dataset . It's saving fine when typing the insert command in the sql from oracle but not through my c# app. but thanks anyways.
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
OK, so your problem is not Oracle at all, your data goes in fine, it's not coming back out ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
This[^] looks promising ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Been there.. No luck
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
Well, the data is going in, so .NET *must* be able to understand/pass it. You can select it from Oracle client tools, but not in C#, right ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
We don't need to use another installer to make an uninstall file. Only msi package of WinXP, we can make an simple uninstall file automatically to help us much in development progress. An unique command like MSIEXEC /X {ProductCode} in Uninstall.bat. For {ProductCode}, after selecting Project in Solution Explorer, we access View/Property Window, surely {ProductCode} is in this grid. Concurrently we make a shortcut of Uninstall file in program file. Finally, our app is convienent for users.
[Uninstall.bat]
MSIEXEC /X {ProductCode}
It seems to be a bad way but it's also a way
It seem to be a solution or an answer.
|
|
|
|
|
hai all
i want to know how to assign strong name to a assembly
and how to publish assembly using gacutil
|
|
|
|
|
|
thanks but it is not working
error message is that attempt to install assembly with out strong name
|
|
|
|
|
did you add that AssemblyKeyFile(...) attribute to AssemblyInfo.cs and re-compile the project?
Or Just tell me what did you do?
Cheers,
Suresh
|
|
|
|
|
okay it works
can you tell me how to use install assembly
|
|
|
|
|
Do you want to use the installed assembly????
Cheers,
Suresh
|
|
|
|
|
iam new in c#.net can u tell me why we install install assembly globaly and
what are there uses and how can one make use of it
|
|
|
|
|
|
I made a DataGridView on my form and bound it to data from my database. Everything works fine.
What I want is to allow user to add rows to my database using this DataGridView. I set the 'AllowUserToAddRows' property to true. When running the application, I can add new rows to my DataGridView, but no changes are made to database.
How to make it?
Thank you very much in advance
|
|
|
|
|
You must update database from datagriview. Add this code into your app
using System.Data.Oledb;
DataTable dt = (DataTable)datagriview1.datasource;
OledbDataAdapter adap = new OledbDataAdapter ("Select * from <tablename> where <primaykey> = 0 (or "")", con); //con = new OledbConnection(<connectionstring)
oledbcommandbuilder buider="new" oledbcommandbuilder(adap);
adap.fillschema(dt,schematype.sourced);
adap.fill(dt);
bool="" result="(adap.Update(dt)==1)?true:false" ;
="" true="" :="" is="" successfull.="" otherwise="" not.
=""
<div="" class="ForumSig">It seem to be a solution or an answer.
|
|
|
|
|
Thanks!
I just wonder, if this could be achieved automatically? Just like getting info from database into DataGridView is..
|
|
|
|
|
Yoyosch wrote: I just wonder, if this could be achieved automatically? Just like getting info from database into DataGridView is..
Why did you think so easily ?
It seem to be a solution or an answer.
|
|
|
|
|
update the database with the values from the datagrid, as soon as a new row is added to the datagrid.
Keshav Kamat
India
|
|
|
|
|
Hi All,
I'm trying to get the exit time of a process which has been initiated using the process class. An event has been written which will be triggered when the process is being closed. But the problem here is, the event is not getting triggered. Here is the code:
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "notepad.exe";
startInfo.Arguments = @"E:\shared\perdata.txt";
startInfo.WorkingDirectory = @"C:\Temp";
startInfo.WindowStyle = ProcessWindowStyle.Maximized;
oProcess.EnableRaisingEvents = true;
oProcess.Exited += new EventHandler(ProcessExited);
oProcess = Process.Start(startInfo);
Event to be called:
public void ProcessExited(object sender,System.EventArgs e)
{
MessageBox.Show(oProcess.ExitTime.ToString());
}
Any help would do. Thanks in advance
Parimala
|
|
|
|
|
|
The event is getting triggered. I've found what is wrong with this.
Instead of using startInfo.filename & startInfo.arguments, I should use oProcess.StartInfo.filename.
Anyway, thanks for the suggestion.
Parimala
|
|
|
|
|