Search

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

Matching Posts

  • Problem with UNC Path

    I am using asp.net 1.1 and using following code for making pdf file and Excle file. But excel file comming okay but when try to open the pdf error comes on server but if i use same code on localhost it will work very good what can be the solution Dim Form As New HtmlForm Form.Controls.Add(dgLogReport) Dim SW As New StringWriter Dim hTextWriter As New HtmlTextWriter(sw) Form.Controls(0).RenderControl(hTextWriter) Dim HTML As String = SW.ToString() Dim Doc As New Document PdfWriter.GetInstance(Doc
    Posted to Web Forms (Forum) by milindsaraswala on 11/27/2009
  • Re: Cast from string "18/11/2009" to type 'Date' is not valid.

    [quote user="nm4568"] It is becuase your regional setting is dd / mm / yyyy solution is to use view plain copy to clipboard print ? cdate(mydatestring).ToString( "MM/dd/yyyy" ) cdate(mydatestring).ToString("MM/dd/yyyy") [/quote] I did the above but the same error come
    Posted to Web Forms (Forum) by milindsaraswala on 11/19/2009
  • Re: Cast from string "18/11/2009" to type 'Date' is not valid.

    [quote user="astahir"] view plain copy to clipboard print ? Dim strDate As String = "18/11/2009" Dim split As String () = strDate.Split( New [ Char ]() { "/" c}) Dim strFormattedDate As String = split(1) & "/" & split(0) & "/" & split(2) Dim dateValue As Date = Date .Parse(strFormattedDate) Dim strDate As String = "18/11/2009" Dim split As String() = strDate.Split(New [Char]() {"/"c}) Dim strFormattedDate As String
    Posted to Web Forms (Forum) by milindsaraswala on 11/19/2009
  • Cast from string "18/11/2009" to type 'Date' is not valid.

    I am using .net 1.1 I am using Query into MS SQl Server below is the code but it gives error on MakeDate function Dim cn As New SqlConnection(System.Configuration.ConfigurationSettings.AppSettings("connstring")) Dim Query As String = "" Dim Query2 As String = "Select @@Identity" Query = "Insert into Customer (Name,Date,FlightNo,DepartingTo,ArrivingFrom,ContactNo,MobileNo,Email,Others,TransactionType) Values(" Query = Query & "'" & txName
    Posted to Web Forms (Forum) by milindsaraswala on 11/18/2009
  • DataGrid and DataBinder.Eval

    I am using .net 1.1 and using datagrid but in that grid I want something like if servicetype is 1 then it should show checkbox or else it should show radiobutton. for that I am doing following codes <asp:datagrid id="dgService" runat="server" datakeyfield="ServiceID" cellpadding="4" backcolor="White" borderwidth="1px" borderstyle="Solid" bordercolor="#A5D2E7" cssclass="normal_text" autogeneratecolumns="False">
  • Re: DataGrid and DataBinder.Eval

    [quote user="irokhes"] Hi, read post below it explain how to show/hide controls depending on data values http://forums.asp.net/p/1422062/3157881.aspx#3157881 good luck [/quote] Same problem Compilation Error Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30451: Name 'Eval' is not declared
  • Re: DataGrid and DataBinder.Eval

    if you see my previous post there is a changes what i did
  • Re: DataGrid and DataBinder.Eval

    I got the solution. It should be like this <asp:templatecolumn headertext="Select"> <headerstyle horizontalalign="Center" width="50px" verticalalign="Middle"></headerstyle> <itemstyle horizontalalign="Center" width="50px" verticalalign="Middle"></itemstyle> <itemtemplate> <asp:checkbox id="chkServiceType" visible='<%# iif(databinder.eval(container.dataitem, "ServiceType"
  • DataGrid and RadioButton Group

    I am using asp.net 1.1 I have problem with radio button in datagrid though i gave groupname in radio button it is selection all radio button rather than only one. following is my code <asp:datagrid id="dgService" runat="server" datakeyfield="ServiceID" cellpadding="4" backcolor="White" borderwidth="1px" borderstyle="Solid" bordercolor="#A5D2E7" cssclass="normal_text" autogeneratecolumns="False">
  • Re: DataGrid and RadioButton Group

    Actually I need to access radio button from code behind.
Page 1 of 36 (358 items) 1 2 3 4 5 Next > ... Last »