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
K

kishorgh

@kishorgh
About
Posts
16
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [Message Deleted]
    K kishorgh

    wht SPAM

    ASP.NET

  • [Message Deleted]
    K kishorgh

    [Message Deleted]

    ASP.NET

  • PRogress bar
    K kishorgh

    insert your code in update panel and add following code <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnl" DisplayAfter="50"> <ProgressTemplate> <img id="Img1" src="~/images/ajax.progress1.gif" runat="server" alt=""/> Please Wait... </ProgressTemplate> </asp:UpdateProgress>

    ASP.NET asp-net help

  • Setting value for datarow if its null [modified]
    K kishorgh

    got the solution...............:) SqlHelper.ExecuteNonQuery ( myConnectionString , "usp_InsertTrackingData" , iWeekNo , Convert.ToInt32(dtRow["InvCoID"]) , ((dtRow["LatestReportDateConsensus"] != DBNull.Value) ? dtRow["LatestReportDateConsensus"] : null) , ((dtRow["LatestReportDateVirtua"] != DBNull.Value) ? dtRow["LatestReportDateVirtua"] : null) ,dtFromDate ,dtToDate ,CreatedBy );

    ASP.NET sharepoint database help

  • Setting value for datarow if its null [modified]
    K kishorgh

    search lottttttt but no success.. :(

    ASP.NET sharepoint database help

  • Setting value for datarow if its null [modified]
    K kishorgh

    my code is in C#..:( :(

    ASP.NET sharepoint database help

  • Setting value for datarow if its null [modified]
    K kishorgh

    didnt get that IIF whts tht??

    ASP.NET sharepoint database help

  • Setting value for datarow if its null [modified]
    K kishorgh

    i have datatable in which 2 row,1st column value is null that column is datatype is DateTime. wwhen i tried to add data to database..its gives me error as Object cannot be cast from DBNull to other types. i have done following.. foreach (DataRow dtRow in dtTrackingData.Rows) { SqlHelper.ExecuteNonQuery ( myConnectionString , "SP_NAME" , iWeekNo , Convert.ToInt32(dtRow["InvCoID"]) , Convert.ToDateTime(dtRow["LatestReportDateConsensus"]) , Convert.ToDateTime(dtRow["LatestReportDateVirtua"]) ,dtFromDate ,dtToDate ,CreatedBy ); } i tried to add if (dtRow["LatestReportDateConsensus"] == System.DBNull.Value) dtRow["LatestReportDateConsensus"] =null; still its not work..:( how i will add value to datarow if its null

    modified on Wednesday, June 3, 2009 1:22 AM

    ASP.NET sharepoint database help

  • set div width after griddata bound
    K kishorgh

    hello i have grid which is in div tag. (i want to set div with with javascript only) i want javascript function in which i want to set div width but after grid binding completion how can i call javascript fun after grid ginging complition

    ASP.NET javascript css wpf wcf question

  • gridviw data export to excel and save as zip format?? urgent!!!
    K kishorgh

    Take one image..on clcik of tht right following code its save gridview data as .xls not in zip file protected void imgBtnExport_Click(object sender, ImageClickEventArgs e) { System.IO.StringWriter stringWrite = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter htmlWrite = new System.Web.UI.HtmlTextWriter(stringWrite); try { DateTime dtFromDate, dtToDate; dtFromDate = Convert.ToDateTime(txtFromDate.Text); dtToDate = Convert.ToDateTime(txtToDate.Text); Response.Clear(); Response.AddHeader("content-disposition", "attachment;filename=ExcelName.xls"); Response.Charset = ""; // If you want the option to open the Excel file without saving then // comment out the line below Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache); Response.ContentType = "application/vnd.xls"; this.EnableViewState = false; GridView grdExp = new GridView(); grdExp.AllowPaging = false; grdExp.AllowSorting = false; DataSet dsRawProd = objReportBL.GetRawProductivityData(dtFromDate.ToShortDateString(), dtToDate.ToShortDateString(), 0, 0); if (dsRawProd.Tables.Count > 0 && dsRawProd.Tables[0].Rows.Count > 0) { DataTable dtRowPrd = dsRawProd.Tables[0]; DataView dv = new DataView(dtRowPrd); grdExp.DataSource = dv; grdExp.DataBind(); //grdExp.Columns. grdExp.RenderControl(htmlWrite); } } catch (Exception) { } Response.Write(stringWrite.ToString()); Response.End(); }

    ASP.NET tutorial question

  • pass paramerter in Hyperlink
    K kishorgh

    Hey thnx a lot...its working fine..:)

    ASP.NET sysadmin tutorial question

  • How to send email?
    K kishorgh

    string SmtpServerIP = "UR SMPTP IP"; if (SmtpServerIP != "") { SmtpClient smtpClient = new SmtpClient(SmtpServerIP); smtpClient.Send(Email); }

    ASP.NET csharp asp-net com sysadmin windows-admin

  • pass paramerter in Hyperlink
    K kishorgh

    Hello guys, i have hyperlink in my page. i want to pass hyperlink id as parameter to that link...how to do that?? iahve done following,...but its not working..:( <asp:HyperLink ID="HyperLink6" runat="server" Text="File Status" CssClass="CSMenu" NavigateUrl='<%# "Default.aspx?HyperlinkID=" + HyperLink6 %>'

    ASP.NET sysadmin tutorial question

  • paging?
    K kishorgh

    set Pagesize="10" and add below code in .aspx page <PagerSettings Mode="NumericFirstLast" NextPageText="" Position="TopAndBottom" PreviousPageText=""> </PagerSettings> may be it will work..:)

    ASP.NET

  • Remove duplicate value from dropdownlist
    K kishorgh

    i have writ code in (!IsPostBack) still its not working..:(

    ASP.NET

  • Remove duplicate value from dropdownlist
    K kishorgh

    There is dropdownlist on my page which showes country name. on click of country name popup will get display which showes companyname of selected country , and same dropdown will again get display. In Popup dropdownlist ,it will display selectedItem value (CountryName)as which we have selected from main page. for tht i have return code as follwes drdCountry.DataTextField = "CountryName"; drdCountry.DataValueField = "CompanyCount"; drdCountry.DataSource = dsCoverageList.Tables[0].DefaultView; drdCountry.DataBind(); drdCountry.SelectedItem.Text = Request.QueryString["CountryName"].ToString(); drdCountry.SelectedItem.Value = Request.QueryString["CompCount"].ToString(); but prob is on popup page in dropdownlist is showes duplicate value of selected item means suppose i have selected US (CountryName) from main drplist thn in popup page is showes US 2 times in DrpList. why is it so??.. :( please help me out..

    ASP.NET
  • Login

  • Don't have an account? Register

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