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
4

4anusha4

@4anusha4
About
Posts
59
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Grid view Caption
    4 4anusha4

    How to assign style to grid view caption in the code behind file?

    C# css tutorial question

  • Import pdf to sql
    4 4anusha4

    how to store the pdf as the blob filed

    C# database sql-server sysadmin tutorial

  • Import pdf to sql
    4 4anusha4

    yes PDF consists of the data columns wise, I want to import the whole data in to sql

    C# database sql-server sysadmin tutorial

  • Import pdf to sql
    4 4anusha4

    How to import data from pdf file to sql server 2005

    C# database sql-server sysadmin tutorial

  • Richtextbox
    4 4anusha4

    How to append a new line to a richtextbox in c#.net

    ASP.NET csharp tutorial

  • Events are not firing
    4 4anusha4

    My web form contains a popupextender when the popup is opened,after closing the popup the events outside the popoup like button click and dropdownselectedindex changed were not firing for the first time,second time the events are firing. Can anybody suggest me a sloution.....:confused:

    ASP.NET

  • Print in report wizard
    4 4anusha4

    hoe to print a report by default in landscape mode by using reportwizard? :confused:

    ASP.NET question

  • Datetime
    4 4anusha4

    ya i got it thank u

    ASP.NET question

  • Compare Validator
    4 4anusha4

    string s=Textbox.Text.TrimEnd().TrimStart();

    ASP.NET help question

  • Datetime
    4 4anusha4

    How can I reduce exactly 6 months from a specific date?

    ASP.NET question

  • Error
    4 4anusha4

    i want to import the html table that is dynamically generated to excel to get the table i am using the javascript function and i am using the value stored in hidden field to display in excel string html = hd2.Value; Response.Cache.SetExpires(DateTime.Now.AddSeconds(1)); Response.Clear(); Response.AppendHeader("content-disposition", "attachment;filename=FileName.xls"); Response.Charset = ""; Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.ContentType = "application/vnd.ms-excel"; this.EnableViewState = false; Response.Write("\r\n"); Response.Write(html); Response.End();

    ASP.NET help javascript html tutorial

  • Error
    4 4anusha4

    I made the validationRequest property to false now the problem is solved but the table is displaying along with the td and tr tags in excel how can i solve this

    ASP.NET help javascript html tutorial

  • Error
    4 4anusha4

    When i assign the html table to the hiddenfield value using javascript i am getting the error like this: "A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$hd2="<TBODY> <TR> <TD c...")." I used the javascript function like this: var element = document.getElementById("aspnetForm"); var store1 = document.getElementById("tb1"); document.getElementById("ctl00_ContentPlaceHolder1_hd2").value = store1.innerHTML.toString(); Help me how to solve this

    ASP.NET help javascript html tutorial

  • connection to sqlservercompactedition
    4 4anusha4

    how can i connect to sqlserver compact edition in web application ?

    ASP.NET question

  • filtering search result
    4 4anusha4

    Find out the dropdown in the header row of the grid view and filter the dataview based on the selected value of the dropdown

    ASP.NET question

  • [Message Deleted]
    4 4anusha4

    [Message Deleted]

    ASP.NET

  • Grid To Excel
    4 4anusha4

    not shown at all an empty row is being displayed i used the code like this to add a row to grid DataTable dt1 = dv1.ToTable(true, "nDepartmentID", "sDepartmentName"); int i = 2; // Session["i"] = ds.Tables[0].DefaultView; for (int m = 0; m <= dt1.Rows.Count - 1; m++)// foreach (DataRow dr in dt1.Rows) { DataTable dt = dv1.ToTable("dt", false); object objCount = dt.Compute("count(nDepartmentID)", "nDepartmentID in (" + int.Parse(dt1.Rows[m]["nDepartmentID"].ToString()) + ")"); if (dt.Rows.Count > 0) { GridViewRow gvRow = new GridViewRow(i, 0, DataControlRowType.DataRow, DataControlRowState.Insert); TableCell tblCell = new TableCell(); //Add Summary Row tblCell.Text = dt1.Rows[m]["sDepartmentName"].ToString(); tblCell.ColumnSpan = 6; tblCell.BorderWidth = 2; tblCell.HorizontalAlign = HorizontalAlign.Left; tblCell.ForeColor = System.Drawing.Color.Red; tblCell.Font.Bold = true; tblCell.Font.Size = 12; gvRow.Cells.Add(tblCell); gridView.Controls[0].Controls.AddAt(i, gvRow); i = i + int.Parse(objCount.ToString()) + 1; } }

    ASP.NET css design help

  • Grid To Excel
    4 4anusha4

    In my application i had headings in between the grid rows when i export the grid to excel the headings were not displayed i used the code like this Response.Clear(); Response.Charset = ""; Response.ContentType = "application/vnd.ms-excel"; System.IO.StringWriter stringWrite = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter htmlWrite = new System.Web.UI.HtmlTextWriter(stringWrite); htmlWrite.WriteLine("<b><font size=5 color=red>" + Heading.ToString() + "</font></b> <b><font size=4 color=blue>TDP IT-Department</font></b>"); //System.Web.UI.WebControls.DataGrid dg = new System.Web.UI.WebControls.DataGrid(); //dg.DataSource = dv.Table; //dg.DataBind(); gv.RenderControl(htmlWrite); Response.Write(stringWrite.ToString()); Response.End(); help me out to solve this

    ASP.NET css design help

  • Gridview Row created Event
    4 4anusha4

    i tried it but could not found

    ASP.NET question css help

  • Gridview Row created Event
    4 4anusha4

    if (e.Row.RowType == DataControlRowType.Header) { //Build custom header. GridView gvGrid = (GridView)sender; GridViewRow gvRow = new GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Insert); TableCell tblCell = new TableCell(); TableCell tblCell1 = new TableCell(); //Add Department tblCell.Text = "Attendance Report From:" + Convert.ToDateTime(sFromDate.ToString()).ToString("dd/MM/yyyy") + "-" + "To" + Convert.ToDateTime(sToDate.ToString()).ToString("dd/MM/yyyy"); tblCell.ColumnSpan = 6; tblCell.ForeColor = System.Drawing.Color.Black; tblCell.Font.Bold = true; tblCell.Font.Size = 14; gvRow.Cells.Add(tblCell); tblCell.HorizontalAlign = HorizontalAlign.Left; gvGrid.Controls[0].Controls.AddAt(0, gvRow); } I used this code first time it executes well after that when any event is fired on the page the control comes to this rowcreated event its not even entering into page_load and all the text in the textbox controls were being cleared

    modified on Thursday, October 8, 2009 12:42 AM

    ASP.NET question css help
  • Login

  • Don't have an account? Register

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