|
So try it on your computer in the debugger and see what happens. This is not rocket science!
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
zebra88 wrote: What might be the problem?
The fact that Access isn't a database-server, but a client-application. It's not meant to serve multiple clients.
I'd suggest you hit the "Upgrade to SQL Server" button after opening the database in the Access-IDE. SQL Server Express is "free", and would be better suited for this particular task.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hey Every Body!
How do you do! I'm beginner of C# language. Now i want to save pdf file to sql and retrieve from there via C#. Someone could help me for this problem .. Thanks for every thing
|
|
|
|
|
For my 2 cents worth.
There are many ways to solve this problem.
One way, is to store the actual pdf file on server some where, and maybe store the path to where this file is located on the server, in the database. You can select out the path information information from database and retrieve the file accordingly.
Another way, store the content in the database, and create the pdf on the fly when you retrieve the information from database.
Thanks.
|
|
|
|
|
Thanks friend!
I was thinking this way. But I have no idea "How do this method "Example--- How store pdf file to SQl.. and how retrieve pdf file to C#... You can teach me-- how write this
|
|
|
|
|
naylynn wrote: How do you do! I'm beginner of C# language
First step - learn basics of putting and getting stuff from the database.
And do not use a PDF when learning that. Instead use int and string.
AFTER you are comfortable with that then learn how to put and get a blob.
|
|
|
|
|
|
Hi
I'm looking for an implementation of ToObservable and ToEnumerable
can you pls help with this
thx
|
|
|
|
|
kaminem wrote: I'm looking for an implementation of ToObservable and ToEnumerable That's a different statement than in the title.
Are you trying to convert an Observable to an Enumerable, or something else? Can you show us some code that shows what you want to convert?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
There is a simple (by MSDN's standards) of ToObservable here[^]. Likewise, in the opposite direction, here[^]
Note that these are really conversions (as opposed to casts): ToObservable takes the value from the IEnumerable on the basis of the IScheduler , whereas ToEnumerable produces the "list" from the Observable 's updates.
“Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed” “One of the greatest problems of our time is that many are schooled but few are educated”
Sir Thomas More (1478 – 1535)
|
|
|
|
|
This blog[^] might help you as well.
|
|
|
|
|
|
Is it possibe to display column A FROM TABLE 1 IN database ABC AND COLUMN B from table 2 of database XYZ IN a single gridview USING c# code...i got the column data in a datatable 1 and 2 respectively..joined them and assigned it to an object.Tried binding it but got "Make sure your datasource has content"...Can anyone help.Thanks in advance
|
|
|
|
|
JOIN the tables before loading them into a collection. You'll have two SQL statements now; paste 'em both, and we'll make a single statement of it. Prerequisite would be that you're using Sql Server (adding in the other DB as a linked database)
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Currently, I use IMAPI library to get the used space of DVD disc on Win7. The calculation is start when insert DVD (handle by WM_DEVICECHANGE window event).
However, with multi session disk (disk that is write many time without finalize), sometime it takes long time to get used space (double when comparing with Window Explorer).
I also investigated and found some other ways to get used space (use IOCTL_DISK_GET_DRIVE_GEOMETRY, IOCTL_SCSI_PASS_THROUGH_DIRECT). The calculating time is improved but result is different from Window result.
I also wonder there is any way that I can reuse the result of window (window also calculated the used space right after insert DVD) without re-calculating? Or any one else to calculate the used space?
Thank you for your interested and helping me.
|
|
|
|
|
WMI may come to your aid - check out the Win32_CDROMDrive class[^].
|
|
|
|
|
Can you explain more detail?
I search and found the way to get all properties from Win32_CDROMDrive. However, the capacity information of DVD Drive seems not to be retrieved.
|
|
|
|
|
Hey guys got a ? that I know is going to get a very objective answer, but here goes anyways. I'm deploying to Afghanistan soon, so I'll have some time at nights to read without interruption from the kids. I'm a beginner programmer, learning the basics of c#. Should I get a book on ASP.net MVC 4, or WFP 4.5? I'm down with learning both desktop development and web development.
Thanks for any input!
|
|
|
|
|
If you are wanting to learn the basics I'd get one of the "Learn C# in XX days" books, and then it really is a preference where you go from there. WPF has a lot of cool things you can do, but its only visible to those you send the executable to. ASP is a good skill to have and MVC can be translated to WPF when you get into that.
There isn't a "this is the one" answer, but if you are starting with basics then get basic books. Learning the back-end of a language before you work on the pretty front end will save you a lot of headaches later.
BTW, thanks for serving and stay safe out there.
|
|
|
|
|
Ron,
Thank you for your reply and safe wishes. I am no longer serving our country in the military though. I just separated from the US Navy, and am now going back out to Afghanistan to support the troops as a contractor.
I'm currently reading two books to learn the basics of C#, Rob Miles C# Yellow Pages and Pro C# 2012 and .NET 4.5
The Pro C# 2012 book has a section on WPF. How much information do I need on WPF to be able to put together a small program?
Thanks,
Jeramy
|
|
|
|
|
You really don't need much. WPF is XML with a .CS code behind. You can use the visual designer to make a form without writing any code at all, but it really gets more powerful if you hand code the XML. There are tools to help though, Microsoft Expression Blend can do some pretty bad-ass stuff without the need to hand code.
|
|
|
|
|
Awesome. I will definitely look into WPF more.
|
|
|
|
|
In my opinion you're better off with a book on .Net with C# (so more general). Something that starts with "Hello world" and builds up from there.
Start with console applications, then winforms, then ASP.NET (web development adds a bunch of complexity) and if that all works out you can check out WPF, LINQ, WCF, ... which is already pretty specific.
I'm pretty sure amazon has some cool books to start out with, make sure to check out the rating.
I would recommend to also install VS express and SQL Server express (incl. management studio), which are free (need to register though) and very easy to use.
hope this helps.
|
|
|
|
|
V,
Thank you for the reply. I think I have a great .Net with C# book (I guess I'll find out once I've read it all the way through).
I was unaware that I could get SQL Server Express. That's definitely good to know.
Thanks,
Jeramy
|
|
|
|
|
You should learn HTML5 and JQuery first. DON'T BE that "developer" who doesn't understand what we're doing here. ASP, MVC, PHP, etc, are all just fancy ways to get HTML, CSS, and Javascript into the browser. If you don't understand that goal, you're going to be a lousy web developer regardless of what other languages you know. The WWW is written in HTML, CSS, and Javascript. Get solid on those basics before tackling higher-level stuff.
TRUST ME. I've had people fired for not knowing HTML, in an ASP.Net shop. Learn to hand-code HTML - it's your bread and butter as a web developer.
For Windows Desktop apps, it's a little different - the foundation of that is basic C# or VB code. Learn the basics by making console apps, and do that for a long time, before you add the complexity of Forms, Events, and all that. Event-based programming is a little hard to understand sometimes, but it's how Windows Desktop apps work, so the idea is to be solid on the basics, so that stuff doesn't trip you up as you learn the higher level stuff.
|
|
|
|