|
How do I create a database application using C#?
I would like to display my database which is Microsoft Access .mdb in C#.
Meaning my database content should be displayed in the box of C#.
I am totally clueless about this.
Please Help.
Thanks.
|
|
|
|
|
|
mucho thanks. I shall try to look at it and try to UNDERSTAND it.
|
|
|
|
|
guys...everyone who replied and gave me advice thanks a lot! becuase it works!
one more teeny little thing now...
i want to do the same thing using databases in c# but now instead of an access file, connect it to an excel file.
Any tips?
Much appreciated!
|
|
|
|
|
Syasya Mortensen wrote:
How do I create a database application using C#?
I would highly recommend the documentation regarding ADO.NET located on MSDN. A good start is: Overview of ADO.NET[^] from the .NET Framework Developer's Guide. If you have further questions please feel free to post.
|
|
|
|
|
thank you very much. I shall read it and try to understand and comprehend it. Ill definitely post if i have any more questions.
|
|
|
|
|
hi thanks for your help. I have some other questions. I would like to do the same thing but now instead of an Access database, id like to do with an Excel speadsheet document. any tips?
thanks
|
|
|
|
|
if I have two form, form main contain progress bar, form2 has a Cal() method. If I want to call Cal() that Cal method is activate progress bar. please show me a simple code. thank you
|
|
|
|
|
Who calls the Cal method; your main form or form2?
How are both forms related to each other? Is your main form the parent of form2/ has it a reference to form2?
www.troschuetz.de
|
|
|
|
|
Why would you call a function on a another form to start a control on your main form?
Are you asking how to increment the progress bar on Form1 from a function running on Form2?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote:
Why would you call a function on a another form to start a control on your main form?
Are you asking how to increment the progress bar on Form1 from a function running on Form2?
That's I want. I have some reason to use progress bar in form1. please show me the way.
|
|
|
|
|
first if you will do it in parents u can try something i tried before
that is to making a public property to the progress bar and calling parent.BarBrop.(the method u want);
ByMindOnlyYouCanDoIt
|
|
|
|
|
I run into a NET application that looks simple but nice.
It had one color Test (vertical against the right side of the dialog box. When the mouse was over it, a sliding window slide (come out) to the right with additional choices to the user, When click DONE, it retracted.
Anybody knows how can I do that?
Any help will be greatly appreciated.
|
|
|
|
|
use a timer and increase the form size in tick event.i think it may work
Regards,
Rathish P S
|
|
|
|
|
|
:-Dtry the most nice thingthe i tried before the Thread.Sleep(int milli second);
it is really good for animating colors and texts but don't try to use it in the current thread try to no use it long time
ByMindOnlyYouCanDoIt
|
|
|
|
|
i have searched in dot netframework classes to find the classes to restart or shutdown computer but i didnt find any usefull class to do that anybody who knows plz help me. tax
m.rastgar
|
|
|
|
|
m.rastgar wrote:
i have searched in dot netframework classes to find the classes to restart or shutdown computer but i didnt find any usefull class to do that anybody who knows plz help me.
I don't know of any .NET Framework class either but you could simply call ExitWindowsEx()[^] (see also ExitWindowsEx() [pinvoke.net][^]).
Best regards
Dennis
|
|
|
|
|
try to do it by lanching a batch file have this command (shutdown -s)
and to do the code of lanching by C#
ByMindOnlyYouCanDoIt
|
|
|
|
|
Hello I've a software written in Java with some compiled DLL's. Now I want to convert it to C#. As Far as my java code is concerned i'll translate it into C# what abt the DLLs. Can i use Dlls written of Java in C#? Please help me.
Regards
|
|
|
|
|
You might be able to IKVM.
http://www.ikvm.net/[^]
Also if you convert the java dll to a .net dll then you can use reflector to generate C# code for the dll, assuming the license allows you to do that.
I can imagine the sinking feeling one would have after ordering my book,
only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
|
|
|
|
|
can u guide me how to convert a java Dll in C# plzz:$ and how to use reflecter:$
Thnkxx alot
|
|
|
|
|
Well, C# virtually IS JAva, I don't see what the problem is.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
I am looking for suggestions of best practices on where/how to store a database password that allows the application to open the database. It is not recommended storing it in the application, especially since .NET can be de-compiled.
|
|
|
|
|
sn dont permit that the code is dissambled
store a password in a exe file is wrong,but if you store the pass crypted, and in exe make an function that decrypt the pass like ASP
|
|
|
|