Search

You searched for the word(s): userid:879369

Matching Posts

  • Somtimes losing Dataset values in web application

    Hello In My web application sometimes I face below problem. Sometimes if I open my web application then at home page in one dataset I got different columns as I wrote in my SQL query. It happened not everytime. but in a day 2 to 3 times i face this problem. when getting this error after that if I refresh page 2 to 3 times web page is working fine. Please if any one knows then help me.
    Posted to Getting Started (Forum) by pateldevang84 on 7/29/2009
  • Re: Somtimes losing Dataset values in web application

    This is not problem of perticular code or web page. Sometimes I lost values of dataset so getting error in any page of website.
    Posted to Getting Started (Forum) by pateldevang84 on 7/29/2009
  • Re: Text property of Dropdownlist

    USE BELOW CODE -------------------------- SqlDataReader drd; if (drd.Read()) { drpcompname.Items.Add(drd.GetValue(0).ToString()); } May be this help........
    Posted to Getting Started (Forum) by pateldevang84 on 7/9/2009
  • Re: Text property of Dropdownlist

    USE BELOW CODE -------------------------- SqlDataReader drd; if (drd.Read()) { drpcompname.Items.Add(drd.GetValue(0).ToString()); drpcompname.Items.FindByText("drd.GetValue(0).ToString()").Selected = True; } May be this help........
    Posted to Getting Started (Forum) by pateldevang84 on 7/9/2009
  • Re: How to Display 404 Error for page not found...

    follow these steps. ------------------------- first wriet this code to web.config file <customErrors mode="On"> <error statusCode="404" redirect="nopage.aspx" /> </customErrors> now in VB code if not found any record from database then write below line of code. response.redirect("AAA");
    Posted to Getting Started (Forum) by pateldevang84 on 7/9/2009
  • Re: How to remove aspx extensions for a webpage

    follow these stpes -------------------------------------- set this code to web.config file. <customErrors mode="On"> <error statusCode="404" redirect="process.aspx" /> </customErrors> now made one aspx page process.aspx and put below code at page load time.. //*********** splitt by '/' char[] splitter1 = { '/' }; string[] arr1 = Request.ServerVariables["QUERY_STRING"].Split(splitter1); //*********** splitt by '/' if
    Posted to Getting Started (Forum) by pateldevang84 on 7/9/2009
  • Re: Large Numbers

    the max limit of the numeric and the decimal if the 38 so you can take the numeric field up to 38 digits. the other way is the "bigint" datatype to store the large number in the database
    Posted to Getting Started (Forum) by pateldevang84 on 7/8/2009
  • Re: How to format datetime to show time left?

    may be this will help you to finding the solution ----------------------------------------------------------------------------------- 1) HERE IS MON DD YYYY HH:MIAM (OR PM) FORMAT ==>’ + CONVERT(CHAR(19),GETDATE()) 2) HERE IS MM-DD-YY FORMAT ==>’ + CONVERT(CHAR(8),GETDATE(),10) 3) HERE IS MM-DD-YYYY FORMAT ==>’ + CONVERT(CHAR(10),GETDATE(),110) 4) HERE IS DD MON YYYY FORMAT ==>’ + CONVERT(CHAR(11),GETDATE(),106) PRINT ‘5) HERE IS DD MON YY FORMAT ==>’ + CONVERT(CHAR(9),GETDATE(),6
    Posted to Getting Started (Forum) by pateldevang84 on 7/6/2009
  • Re: to Enalrge the image

    in your gridview < asp : TemplateField HeaderText ="Picture"> < ItemTemplate > <a id="aphotos" runat="server"><asp:Image ID="imgmyphoto" runat="server" ToolTip='<%#container.dataitem("photoname") %>' ImageUrl='<%# "Photo\Thumb\" & container.dataitem("photofile") %>' /></a> </ ItemTemplate > </ asp : TemplateField > and in the gridview's item
    Posted to Getting Started (Forum) by pateldevang84 on 7/6/2009
  • Re: Global Variable

    make a class that have a shared variable and then u can access that variable in any of the page with classname.variablename. exapmle : Public Class GlobleVariable Public Shared str As String = "" End Class then u can use this variable to any where in ur any aspx.vb file as like GlobleVariable. str = value
    Posted to Getting Started (Forum) by pateldevang84 on 7/6/2009
Page 1 of 2 (12 items) 1 2 Next >