how can I get client side printer name in asp.net using c#
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
{
if (!Page.IsPostBack)
{
this.DropDownList1.DataSource = System.Drawing.Printing.PrinterSettings.InstalledPrinters;
this.DropDownList1.DataBind();
this.DropDownList1.SelectedIndex = 0;
this.DropDownList1.DataBind();
this.DropDownList1.SelectedIndex = 0;
}
}
so I request all of you to please help me to solve this problem..
No comments:
Post a Comment