Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

DotnetRafi

@DotnetRafi
About
Posts
10
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How IIS identify SharePoint site and ordinary website
    D DotnetRafi

    How IIS identify SharePoint site and ordinary website

    mohamad rafi

    SharePoint sharepoint windows-admin

  • download problem from Secure Sockets Layer enabled site(https)
    D DotnetRafi

    download problem from Secure Sockets Layer enabled site(https) I got error message this " internet explorer was not able to open this internet site.this requested site is either unavailable or cannot be found .please try later" i ca't download file i am using following code to download the file string outputFile = "test 1"; Response.Clear(); Response.Buffer= true; Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "inline; filename=test.xls" ); Response.AddHeader("Pragma", "public"); Response.AddHeader("Cache-Control", "max-age=0"); Response.Charset = ""; EnableViewState = false; Response.Write(outputFile); Response.End(); it's working normal http site, in https site it's not working ,means i deployed as Secure Sockets Layer enabled site, error happen

    mohamad rafi

    ASP.NET help

  • download problem from Secure Sockets Layer enabled site(https)
    D DotnetRafi

    download problem from Secure Sockets Layer enabled site(https) I got error message this " internet explorer was not able to open this internet site.this requested site is either unavailable or cannot be found .please try later" i ca't download file i am using following code to download the file string outputFile = "test 1"; Response.Clear(); Response.Buffer= true; Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "inline; filename=test.xls" ); Response.AddHeader("Pragma", "public"); Response.AddHeader("Cache-Control", "max-age=0"); Response.Charset = ""; EnableViewState = false; Response.Write(outputFile); Response.End(); it's working normal http site, in https site it's not working ,means i deployed as Secure Sockets Layer enabled site, error happen

    mohamad rafi

    ASP.NET help

  • download problem from Secure Sockets Layer enabled site(https) [modified]
    D DotnetRafi

    download problem from Secure Sockets Layer enabled site(https) I got error message this " internet explorer was not able to open this internet site.this requested site is either unavailable or cannot be found .please try later" i ca't download file i am using following code to download the file string outputFile = "test 1"; Response.Clear(); Response.Buffer= true; Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("Content-Disposition", "inline; filename=test.xls" ); Response.AddHeader("Pragma", "public"); Response.AddHeader("Cache-Control", "max-age=0"); Response.Charset = ""; EnableViewState = false; Response.Write(outputFile); Response.End(); it's working normal http site, in https site it's not working ,means i deployed as Secure Sockets Layer enabled site, error happen

    mohamad rafi

    modified on Thursday, December 11, 2008 5:25 AM

    ASP.NET help

  • Data Grid at runtime ,RETRIVING THE DATA FROM THE GRIED
    D DotnetRafi

    i have bind the gridview through the data set the dataset contans the boolen values so automatical it taks the Checkbox control now i wnat to retryiving the data from gridviw if checkbox is checked then i need check box value here i give the my coding here on page load i get the data and bind the grid view protected void Page_Load(object sender, EventArgs e) { string connString = WebConfigurationManager.ConnectionStrings ["ServerConnectionString1"].ConnectionString; SqlDataAdapter conadapuser = new SqlDataAdapter("SSTABEG", connString); DataSet userdateset = new DataSet(); conadapuser.Fill(userdateset); int rescount = userdateset.Tables[0].Rows.Count; int colcount = userdateset.Tables[0].Columns.Count; //trueval = bool.Parse(bool.TrueString); DataTable dt = new DataTable(); for (int i = 0; i < userdateset.Tables[0].Columns.Count; i++) { DataColumn dc = new DataColumn(); if (i > 0) { dc.Caption = userdateset.Tables[0].Columns[i].Caption; dc.DataType = System.Type.GetType("System.Boolean"); dc.ColumnName = userdateset.Tables[0].Columns[i].ColumnName; } else { dc.Caption = userdateset.Tables[0].Columns[i].Caption; dc.DataType = userdateset.Tables[0].Columns[i].DataType; dc.ColumnName = userdateset.Tables[0].Columns[i].ColumnName; } dt.Columns.Add(dc); } for (int row = 0; row < userdateset.Tables[0].Rows.Count;row++ ) { DataRow drow=dt.NewRow(); for (int col = 0; col < userdateset.Tables[0].Columns.Count; col++) { if (col > 0) { if (userdateset.Tables[0].Rows[row][col].ToString() != "1") { drow[col] = false; } else { drow[col] = true; } } else { drow[col] = userdateset.Tables[0].Rows[row].ItemArray[col].ToString(); } } dt.Rows.Add(drow); } GridView1.DataSource = dt; //userdateset; GridView1.DataBind(); } HERE I ENABLE THE CHECK BOX CONTROL protected void GridView1_RowCreated(object

    ASP.NET css

  • problem in Gried View -urgent
    D DotnetRafi

    i have a dateset with value of 0 and 1, i want bind the dataset to gridview with checkboxfiled, in dataset all value are strings so it give error i use bool.Parse(bool.TrueString) comment for boolen value but it gives the error how to bind dataset with gridview

    mohamad rafi

    ASP.NET help tutorial

  • Error ---> Unable to send to all recipients.
    D DotnetRafi

    i have write the following code for send the mail but i get the Error Unable to send to all recipients. what is the solution for the peried try { MailAddress fromAddress = new MailAddress("mrafi@mydomain.com"); smtpClient.Host = "localhost"; smtpClient.Port = 25; message.From = fromAddress; message.To.Add("ggajjar@mydomain.com"); message.Subject = "Feedback"; message.CC.Add("amajumdar@mydomain.com"); message.IsBodyHtml = false; message.Body = "Test Mail"; smtpClient.Send(message); } catch (Exception ex) { Response.Write("Send Email Failed." + ex.Message); }

    mohamad rafi

    ASP.NET com beta-testing help question code-review

  • Conversition vb.net to C#
    D DotnetRafi

    anybody help me for convert vb.net project to C# my mail address is rafimca78@yahoo.com mohamad rafi

    C# csharp com help

  • what is new in dot net 2005
    D DotnetRafi

    hi, any can give me details for what are new fucture is awailable ,what are major fucture mohamad rafi

    .NET (Core and Framework) question

  • how to recover the updated data from sql server
    D DotnetRafi

    how to recover the updated data from sql server very urgent pls help us to recover the updated data mohamad rafi

    ASP.NET database sql-server sysadmin help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups