﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><pubDate>Thu, 07 Oct 2010 21:23:30 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>DataFormatString</category><category>issue</category><description>&lt;p&gt;thank you anyway!&lt;/p&gt;</description></item><item><title>DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><pubDate>Wed, 29 Sep 2010 22:14:07 GMT</pubDate><dc:creator>niven</dc:creator><category>DataFormatString</category><category>issue</category><description>&lt;p&gt;Good Morning Frank,&lt;/p&gt;
&lt;p&gt;Please go to &lt;strong&gt;C:\Program Files\Intersoft Solutions\WebUI Studio for ASP.NET\WebGrid.NET 7.0\Bin&lt;/strong&gt;, right click on the &lt;strong&gt;ISNet.WebUI.WebGrid.dll&lt;/strong&gt; then click on &lt;strong&gt;Properties&lt;/strong&gt;. Go to &lt;strong&gt;Details&lt;/strong&gt; tab and let me know what is your &lt;strong&gt;File Version&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;You can get the latest HotFix at &lt;a href="http://www.intersoftpt.com/Community/WebGrid/Update-Bug/"&gt;http://www.intersoftpt.com/Community/WebGrid/Update-Bug/&lt;/a&gt; thread. Just to make sure to always use the latest hotFix to get a better results. Please refer to &lt;a href="http://intersoftpt.com/build/ApplyHotfix"&gt;http://intersoftpt.com/build/ApplyHotfix&lt;/a&gt; on how to install the HotFixes.&lt;/p&gt;
&lt;p&gt;I'm using &lt;strong&gt;WebGrid 7.0.7200.404 &lt;/strong&gt;and&lt;strong&gt; Framework&lt;/strong&gt; &lt;strong&gt;3.0.5000.755&lt;/strong&gt;. As the videos I have given to you, I could not find any problem within the&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;＄&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;and $.&lt;/p&gt;
&lt;p&gt;Thank you. and have a nice day.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niven Prasetya&lt;/p&gt;</description></item><item><title>DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><pubDate>Wed, 29 Sep 2010 02:30:31 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>DataFormatString</category><category>issue</category><description>&lt;p&gt;&lt;strong&gt;WebGrid version:V7.0.7200&lt;br /&gt;Framework version:3.0.5000.755&lt;br /&gt;my OS: winserver2003&amp;#43;VS2008&lt;/strong&gt; &lt;br /&gt;I down load latest  version (2010-08-13)&lt;/p&gt;</description></item><item><title>DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><pubDate>Wed, 29 Sep 2010 00:41:53 GMT</pubDate><dc:creator>niven</dc:creator><category>DataFormatString</category><category>issue</category><description>&lt;p&gt;Hi Frank,&lt;/p&gt;
&lt;p&gt;Everything looks fine with my sample, I have attach a video by using&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;＄&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;and $. Both of them works fine.&lt;/p&gt;
&lt;p&gt;Please tell me the WebGrid build version v7.0.7200.xxx, xxx indicating the build version.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niven Prasetya&lt;/p&gt;</description></item><item><title>DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><pubDate>Mon, 27 Sep 2010 22:12:22 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>DataFormatString</category><category>issue</category><description>&lt;p&gt;I think that  I find the problem.&lt;br /&gt;Because I use $,not ＄,it cause wrong.&lt;br /&gt;Anyway,webgrid does not support '$'.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;WebGrid version:V7.0.7200&lt;br /&gt;Framework version:3.0.5000.755&lt;br /&gt;my OS: winserver2003&amp;#43;VS2008&lt;/strong&gt; &lt;/p&gt;&lt;pre&gt;&amp;lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="dataFormatDemo.aspx.cs" Inherits="dataFormatDemo" %&amp;gt;

&amp;lt;%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %&amp;gt;

&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" &amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head runat="server"&amp;gt;
    &amp;lt;title&amp;gt;dataFormatDemo &amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id="form1" runat="server"&amp;gt;
        &amp;lt;div&amp;gt;
            &amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="280px" DefaultStyleMode="Win7" UseDefaultStyle="True"
                Width="800px" DataSourceID="AccessDataSource1"&amp;gt;
                &amp;lt;LayoutSettings AllowAddNew="Yes" AllowDelete="Yes" AllowEdit="Yes" NewRowLostFocusAction="AlwaysUpdate"&amp;gt;
                &amp;lt;/LayoutSettings&amp;gt;
                &amp;lt;RootTable DataKeyField="vouid"&amp;gt;
                    &amp;lt;Columns&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="商品名称" DataMember="商品名称" Name="商品名称"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                      &amp;lt;%-- anyway,if Use DataFormatString="＄",it has no problem!--%&amp;gt;
                       &amp;lt;ISWebGrid:WebGridColumn Caption="价格范围" DataType="System.Decimal" DataFormatString="$##,###.00"  DataMember="价格范围" Name="价格范围" 
                            &amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="vouid" DataMember="vouid" Name="vouid" 
                            DataType="System.Int32"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;              
                        &amp;lt;/Columns&amp;gt;
                &amp;lt;/RootTable&amp;gt;
            &amp;lt;/ISWebGrid:WebGrid&amp;gt;
            &amp;lt;asp:AccessDataSource ID="AccessDataSource1" runat="server" 
                DataFile="~/App_Data/Product.mdb" 
                DeleteCommand="DELETE FROM [ProductInfo] WHERE [vouid] = ?" 
                InsertCommand="INSERT INTO [ProductInfo] ([商品名称], [价格范围], [vouid]) VALUES (?, ?, ?)" 
                SelectCommand="SELECT [商品名称], [价格范围], [vouid] FROM [ProductInfo]" 
                
                UpdateCommand="UPDATE [ProductInfo] SET [商品名称] = ?, [价格范围] = ? WHERE [vouid] = ?"&amp;gt;
                &amp;lt;DeleteParameters&amp;gt;
                    &amp;lt;asp:Parameter Name="vouid" Type="Int32" /&amp;gt;
                &amp;lt;/DeleteParameters&amp;gt;
                &amp;lt;UpdateParameters&amp;gt;
                    &amp;lt;asp:Parameter Name="商品名称" Type="String" /&amp;gt;
                    &amp;lt;asp:Parameter Name="价格范围" Type="Decimal" /&amp;gt;
                    &amp;lt;asp:Parameter Name="vouid" Type="Int32" /&amp;gt;
                &amp;lt;/UpdateParameters&amp;gt;
                &amp;lt;InsertParameters&amp;gt;
                    &amp;lt;asp:Parameter Name="商品名称" Type="String" /&amp;gt;
                    &amp;lt;asp:Parameter Name="价格范围" Type="Decimal" /&amp;gt;
                    &amp;lt;asp:Parameter Name="vouid" Type="Int32" /&amp;gt;
                &amp;lt;/InsertParameters&amp;gt;
            &amp;lt;/asp:AccessDataSource&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
</description></item><item><title>DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><pubDate>Mon, 27 Sep 2010 03:49:24 GMT</pubDate><dc:creator>niven</dc:creator><category>DataFormatString</category><category>issue</category><description>&lt;p&gt;Hi Frank,&lt;/p&gt;
&lt;p&gt;I am not able to replicate your issue here.&lt;/p&gt;
&lt;p&gt;May I know your WebGrid and Framework version?&lt;/p&gt;
&lt;p&gt;I have attach a version of mine with your scenario.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Niven Prasetya&lt;/p&gt;</description></item><item><title>DataFormatString issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/DataFormatString-issue/</link><pubDate>Sat, 25 Sep 2010 23:04:14 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>DataFormatString</category><category>issue</category><description>&lt;p&gt;I use  DataFormatString="$##,###.00", when the cell into EditState ,&lt;strong&gt;I can not see the oldvalue&lt;/strong&gt;, but the other cells have not this problem,how to fix it???&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGridColumn Caption="FoodPrice" DataFormatString="$##,###.00" DataType="System.Decimal"  DataMember="price" Name="price"  Width="100px" &amp;gt;
&amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;/pre&gt;
</description></item></channel></rss>