My Need is that to verify the person mobile number so i want that when user enter the mobile number a code is send on his ?her number to verify him/her then he/her enter the code then other details will open and i am also unable to retrieve the image from Database image store in datatype Image............
I am using Visual Studio 2008 and report builder 3.0. I create a simple rdl report name as "EmployeeDetails.rdl". I am showing the report in ASP.NET page by using "Report Viewer" control. Now in Report viewer tool box contains print and export facility default. But i want to print same report through asp.net code.
I am able to achieve export facility programmatically, but unable to print achieve functionality.
If any one achieve print functionality then please help me or guide me as early as possible.
This will create a Console application, not a WinForms. It's not a good idea because this creates a few problems for your WinForms app that you have to code around.
Put it back to what it was. In your application, you have a couple of ways of creating a console window. One is to use the Win32 functions AllocConsole and AttachConsole. You then have to get the streams from the console and attach them to .NET streams, ... It's pretty messy.
A simple method it to launch CMD.EXE as a new Process, then you've already got the stream objects to write to. You can't use Console.WriteLine, but you can use something like myCmdProcess.StandardInput.WriteLine. StandardInput is a normal StreamWriter object which has all the usual methods you would expect[^].