﻿<?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 - WebInput - How to bind WebInput to SQL Server database?</title><link>http://www.intersoftsolutions.com/Community/WebInput/How-to-bind-WebInput-to-SQL-Server-database/</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>How to bind WebInput to SQL Server database?</title><link>http://www.intersoftsolutions.com/Community/WebInput/How-to-bind-WebInput-to-SQL-Server-database/</link><pubDate>Thu, 11 Mar 2010 22:21:16 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;WebInput.NET support both Bound and Unbound mode only. Control-level bound mode data binding is not supported because the data proceed is a simple data (not a list) and hence does not expose DataSource and DataMember property.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;To set data in the WebInput.NET control, set the Value properties to a valid data field’s value (a string, datetime, or numeric data type).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The text property contains value data that is formatted, masked, edited, and validated. For those who want to bind data to WebInput.NET, use .NET data binding mechanism such as &amp;lt;%# … %&amp;gt; Expression or assign the Value property in code behind. For more details about .NET data binding, please refer to the .NET Framework documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please do not use properties other than the Value property under DataBinding to bind the control’s value. For example, although it is possible to bind the Text property to a field, the result will not be the same as binding the Value property.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed one simple sample that shows how to bind WebInput.NET to SQL Server database. The simple sample binds WebInput.NET to Shippers table of Northwind database. For more detail information, please check the sample.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;*edited reason: add and attach sample&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to bind WebInput to SQL Server database?</title><link>http://www.intersoftsolutions.com/Community/WebInput/How-to-bind-WebInput-to-SQL-Server-database/</link><pubDate>Wed, 10 Mar 2010 11:18:04 GMT</pubDate><dc:creator>pennwhite@hotmail.com</dc:creator><description>&lt;p&gt;Getting closer. I just upgraded to SP1 and found several DataBinding to Form samples. I don't understand them yet but I feel like I'm making progress. Now if I can just find a tutorial...&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;BTW, most of these will crash unless you run Refresh Schema on the DataSet.&lt;/p&gt;</description></item><item><title>How to bind WebInput to SQL Server database?</title><link>http://www.intersoftsolutions.com/Community/WebInput/How-to-bind-WebInput-to-SQL-Server-database/</link><pubDate>Tue, 09 Mar 2010 21:19:37 GMT</pubDate><dc:creator>pennwhite@hotmail.com</dc:creator><description>&lt;p&gt;This must be a stupid question because I have been struggling with it for 2 days and still can't figure it out. &lt;/p&gt;
&lt;p&gt;I have looked at the DataBinding.aspx but that was written for binding to an XML datasource. I have looked at the LINQ to SQL solution for WebGrid and I have done countless searches in the forums, walkthroughs, FAQs and How-tos and I'm still lost. I have a connection string that should be able to be used somehow.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;All I want to do is to bind fields (lke FirstName, LastName, Phone, etc.) to my database so users can edit them from a webform. It is so easy using the standard textbox in VS. &lt;/p&gt;
&lt;p&gt;What am I missing??&lt;/p&gt;</description></item></channel></rss>