Search found 75 matches

by Trebor29
Tue Dec 04, 2012 7:06 pm
Forum: .Net & Other Programming
Topic: How to control selected row when dataGridView created?
Replies: 1
Views: 6168

Re: How to control selected row when dataGridView created?

UPDATE: It appears to be something to do with the DataBinding. It is as soon as the code steps into the databind that it sets the first row selected. I have come across a solution which uses the dataBindingComplete event and calling the .ClearSelection() from inside, but this is a solution which has...
by Trebor29
Tue Dec 04, 2012 3:48 pm
Forum: .Net & Other Programming
Topic: How to control selected row when dataGridView created?
Replies: 1
Views: 6168

How to control selected row when dataGridView created?

Hi all, I am developing a WFA to print ID cards and manage consumable orders. Order information is read from an sql server db and into a dataGridView. When the user selects a row (an order) (dataGridView1_selectionChanged event) the corresponding ID card design is pulled in and displayed in a pictur...
by Trebor29
Fri Oct 19, 2012 2:06 pm
Forum: .NET Programming
Topic: Send 'Number of copies' to a printer
Replies: 1
Views: 4789

Re: Send 'Number of copies' to a printer

Hello people..

this seems to be working for me;

Code: Select all

pd.PrinterSettings.Copies = Convert.ToInt16(dialogBox.NewCardQuantity);
But now having trouble rendering the image to fit onto the ID cards!

:roll:
by Trebor29
Thu Oct 18, 2012 6:33 pm
Forum: .NET Programming
Topic: Send 'Number of copies' to a printer
Replies: 1
Views: 4789

Send 'Number of copies' to a printer

Hi all, I am building an windows form application that selects a relevant ID card design and then send that to the card printer. I can print one card, or even multiple if choosing a specific Number of Copies in the printer printDialogBox, but how can I send a specific number of copies from my applic...
by Trebor29
Mon May 21, 2012 6:38 pm
Forum: .NET Programming
Topic: Auction website project (ASP.Net C#)
Replies: 2
Views: 8556

Re: Auction website project (ASP.Net C#)

Hi Saman, Thanks for those links.. theres some good stuff in those! I have played around with joomla before and have also seen a ready to go reverse aution script + theme with WordPress, but I have some ideas that may or may not improve the current auction solutions available on the web today... acc...
by Trebor29
Mon May 21, 2012 2:02 am
Forum: .NET Programming
Topic: Auction website project (ASP.Net C#)
Replies: 2
Views: 8556

Auction website project (ASP.Net C#)

Hi all, Im fresh out of graduation and my first project I have set myself is the monumental task of building a reverse auction site! Has anyone got any advice, apart from dont do it lol, either with regards to possible source code.. and / or recomendations as to what is the best approach: i.e. ASP.N...
by Trebor29
Sat Apr 28, 2012 5:25 pm
Forum: ASP & ASP.Net
Topic: Website on IIS7 - how can connect to web service on desktop?
Replies: 4
Views: 9745

Re: Website on IIS7 - how can connect to web service on desktop?

Hi Enigma, The problem I have when I upload the ws to IIS I have to give it a different port number from the hosted website, and I dont know how! The only port numbrs that it automatically provides are port 80 for http and 443 for https. Could I just use the port number thats in the url when I run i...
by Trebor29
Sat Apr 28, 2012 4:08 am
Forum: ASP & ASP.Net
Topic: Website on IIS7 - how can connect to web service on desktop?
Replies: 4
Views: 9745

Re: Website on IIS7 - how can connect to web service on desktop?

Update: When I start the application for the first time and run it, it often fails with the error (No connection could be made because the target machine actively refused it 127.0.0.1:49933) This means the web references need refreshing and normally I delete and reconnect to the web services in the ...
by Trebor29
Sat Apr 28, 2012 2:17 am
Forum: ASP & ASP.Net
Topic: Website on IIS7 - how can connect to web service on desktop?
Replies: 4
Views: 9745

Website on IIS7 - how can connect to web service on desktop?

Hi all, I have got an asp.net website hosted on localhost (IIS7) and I want to use a web service I have made which is on my desktop... How can I connect / find it? In Visual Studio 2010, if I open the website and web service in the solution explorer, I can add service reference by seaching for servi...
by Trebor29
Fri Mar 30, 2012 1:05 am
Forum: ASP & ASP.Net
Topic: How to check insert.parameters for error and return false?
Replies: 1
Views: 5072

How to check insert.parameters for error and return false?

Hello again all, Wasn't sure how to word this one so I hope you can understand what im on about! I am updating three tables in two sql server databses by passing values into three relevant methods() in my registration class file. I wont go into too much detail as to how ive ended up with this as it ...

Go to advanced search