View Complete Post
I have this code that hides a column in a gridview. (The column houses another nested gridview).
Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand
If e.CommandName = "Select" Then
If GridView1.Columns(0).Visible = False Then
GridView1.Columns(0).Visible = True
GridView1.Columns(0).Visible = False
The trouble is that if I click the select link on one row that action to hide is carried out on all rows. How can I set this up so that it only hides the row that is selected?
i want to take print out of asp.net page..
Firstly i want to transfer this content in MsWord file in same format that is on browser screen
then i want to take automatic print out....
how can i do this
Could someone please tell me what is wrong with my syntax here? I'd be much appreciative.
objCmd = New SQLCommand("SELECT CASE WHEN objDR('Item') = 'Enter Bill of Lading' then enterbol " _
& "WHEN objDR('Item') = 'Bill of Lading History' THEN bolhistory " _
& "WHEN objDR('Item') = 'Request Transfer' or objDR('Item') = 'View Transfer in Progress' THEN transfers " _
& "END from plantGroups where plantgroupid=@plantgroupid", objConn)
I have an SP that simply performs a COUNT(*) from a table. I'm am trying to print that number in an ASP Label. It works in Query analyzer but I cant wrap my head around how to display it in a label. Any guidance much appreciated.
Is it possible to Print Screen and then immediately Paste into a .NET app and upload to a server? I'd like to skip the step of the user having to first paste the screen into an image program and save as a jpg, gif, etc. Thanks!
how to get a report in my c#.net page button lick event also steps to call a report from asp.net to reporting services
Thanks in advance
my crystal report works well but when i want press button print instead of print ,export it to a file
what should i do for paper print?
thanks in advance
MSDN Magazine November 2005
Service-oriented architecture is a great framework when you need to perform distributed computing tasks over the Internet. But when you want to perform processing inside your local network, a different solution may provide a better fit. That solution, based on the Command pattern, uses Windows services and Microsoft Message Queuing to implement a queued system that meets your needs better than a service-oriented solution. This article explains how to build it.
MSDN Magazine September 2004
Printing is an integral part of every complete Windows-based application. Providing robust printing capabilities in these applications has often proved to be a tedious chore. Now, printing from Windows Forms with the .NET Framework means you must adopt a document-centric approach, resulting in cleaner and more manageable code. While the System.Windows.Forms namespace provides seamless integration with all the standard print dialogs (such as Print Preview, Page Setup, and Print), the System.Drawing.Printing namespace offers numerous classes for extensibility and customization. These classes, and how they provide access to printing capabilities, are covered here. Other useful techniques, such as printing in the background to allow the user to continue other tasks, is also explained.
MSDN Magazine February 2003
In Windows Forms applications, similar commands, such as those in a menu and their counterparts on a toolbar, are not automatically related. They don't fire the same event or run the same handler routine. Yet code that allows the same or similar user commands to fire the same code simplifies development.This article describes the principles of command management and why it's important to have functional commands that are not exclusive to any one UI element. In order to provide an MFC-like command management infrastructure, a design pattern is developed and applied as a series of C# classes.
Michael Foster and Gilberto Araya
MSDN Magazine October 2002
MSDN Magazine March 2001
I need who print a crystal report in mvc, i have a example in the server show the report ok, but i canÃÂ´t print and export, could someone help me?
Hi i create a print view brower enabled form in Infopath 2007 with header and footer. In Infopath works fine. Margin was ok, header and footter to. But then i try to print this browser the margin, header and footer it changes to default setting of
browser ? I try also create a print button in form with VS 2008 code, but method :
this.print(); not working.
It is possible to print the "print view" in browser as the same like in Infopath 2007? Does anyone have the code how to create a print button in C# on browser enabled form?
Hello I have posted a similar question here and one good solution was created a pdf with my Charts and then print the pdf but I am needing print all my diferent chart without create other any documente like a pdf. Need some help Thanks
Old question(Hello I have a web application with several MSChart and I need print
all these chart but I dont know how. In some examples in the internet
people using EditCopy() but it dont working for me because I cant found