Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:618479
More Search Options
RSS Available
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">
Posted to
Data Presentation Controls
(Forum)
by
milindsaraswala
on 11/16/2009
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
Posted to
Data Presentation Controls
(Forum)
by
milindsaraswala
on 11/16/2009
Re: DataGrid and DataBinder.Eval
if you see my previous post there is a changes what i did
Posted to
Data Presentation Controls
(Forum)
by
milindsaraswala
on 11/16/2009
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"
Posted to
Data Presentation Controls
(Forum)
by
milindsaraswala
on 11/16/2009
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">
Posted to
Data Presentation Controls
(Forum)
by
milindsaraswala
on 11/16/2009
Re: DataGrid and RadioButton Group
Actually I need to access radio button from code behind.
Posted to
Data Presentation Controls
(Forum)
by
milindsaraswala
on 11/16/2009
Page 1 of 36 (358 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN – Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online