On a form, I have two combobox wich have the same DataSource (their elements list are the same). When the user select an item in one of the control, the other control's selected item is also modified. That's not what I want.
I'd like to have both list populated with the same DataSource (as I currently do), but I'd like their selected it...
Hi there!
I'm designing database app with ZeosLib. On one form I have some Lookups that should refer to the same dataset. Is it safe to create one TDataSet descendant and then connect few TDataSources to it ?
...
I've been getting this exception in my code and wondered if anyone could help me out.
I have a Repeater Control bound to an ObjectDataSource, and the itemtemplate for the repeater contains a User Control (ASCX). This user control in turn contains several other controls, mainly a GridView that is associated with an ObjectDataSource.
On...
I'm having the following problem and I want to know whether it is a Visual Studio bug or if I'm doing something wrong:
I'm using AdventureWorks database in SQL Server 2005 and Visual Studio 2008.
When defining a new DataSource (to be used in a GridView) I select the Product table, defined in the Production schema, but the generated que...
Hello,
Could somebody tell me why I'm getting blank rows after runnign this code??
...
dataGridView.AutoGenerateColumns = false; //must be false, else getting additional coulumns from sql.
dataGridView.DataSource = dataSet.Tables[0].DefaultView;
Also tried
dataGridView.Update();
but not working.
Row count is ok, but why blank ro...
I have a J2EE webapp which is used to upload a file which is then processed by a database procedure. Because we do not want the webapp to have to wait until the database procedure completes, it is executed in a different thread.
The process running in the separate thread needs to obtain and close its own connection. The webapps usually...
HI all,
I created a .net object (ex: A) which contain data have been collected from tables.
Next, i create a List<A>() and pass to SetDataSource() method of ReportDocument object.
When i run then an Exception have been throwed :
"CrystalDecisions.CrystalReports.Engine.DataSourceException: The data source object is invalid"
I don't kn...
Hello,
How can I configure Grails (in DataSource.groovy file) to use specific schema that a given username has access to, but it is not necessarily the default schema for that user.
Thanks
...
All Types implement IEnumerable interface could be used for a DataSource of a DataList. For example List. But what we will write for the data bound expression in ItemTemplate?
List<int> myList = new List<int>();
for(int i=0; i<10; i++)
myList.Add(i);
myDataList.DataSource = myList;
...
<ItemTemplate>
<asp:TextBox ID="myTextBox" run...
NOTE: Apparently, the reason the MySQL connector installation doesn't show up automatically in the Dialog Boxes for adding a data source is because the Visual 2008 Express Edition doesn't allow "3rd party integration" within the Visual Studio IDE. So, this makes setting up the data source manually even more important because the integrat...
I have a SQL Server that houses Several Databases. I have a Main Database that holds several tables with entities and ID numbers. Then, each one of those entities has a correlating database (not a table, but database) with all of its information. For example, if the an entity in the MAIN database has an ID number of 1, there would be an ...
I have a Person class that contains properties such a FirstName, LastName, EmployeeID, etc. All of the aforementioned properties are just single strings. The Person class also has some properties that are lists of other objects I have defined.
For instance, the Person object has a property called "PhoneNumbers" which is a List<PersonPh...
WinForms, .NET 3.5
I have a ComboBox that needs to display a growing list of items -- there is a long running process fetching items, and I want to be able to display items to the user as they build up over time.
Setting the DatSource property to a naive Array/List doesn't work since subsequent additions are not registered by the Combo...
VS2008 Web Service Project missing Data Menu and Data Sources:
Simply invisible, Can't find it and just cant add a connection to my database using that wizard. why is it missing?
...
Does anyone know where I could locate an english language word list in the form of a SQL dump?
I found a word list online but it's a large plain text file; the words are delimited by a new line character. I tried writing a PHP script to loop through the words and insert them in to the database but quickly ran in to memory issues just re...
Hi everyone!
I'm looking for a way to delete all rows of an NSTableView.
The table view has a data source but it isn't set as a variable so if I need a data source, I have to have something like "data source of tableView" to access it.
Thanks in advance.
...
I need to make a WHERE clause for my LinqDataSource which depends on the currently logged in user. Of course, I have access to the currently logged in user in the code-behind and I specifically need the user ID to fetch only data belonging to him/her from the database.
It works fine when I add the Where attribute to the <asp:LinqDataSou...
I have a Checkbox list in my page and its datasource set programatically in PreLoad() event:
protected void Page_PreLoad()
{
if (!Page.IsPostBack)
{
CheckBoxList1.DataSource = NoK.AcceptedNoks((Guid)Membership.GetUser().ProviderUserKey);
CheckBoxList1.DataTextField = "FullName";
CheckBoxList1.Data...
I am trying use MySql and Entity Framework, using Connector/Net 6.1 with this as a reference:
http://dev.mysql.com/doc/refman/5.4/en/connector-net-tutorials-entity-framework-winform-data-source.html
However my project is WebApplication instead of WinForms. I have sucessfully created entities, but I am not able to cerate Data Source fo...
Is it possible to point to an xml file as a datasource in the same way you would with an .mdf file? Please let me know if I can clarify this question.
For example, let's say I have a datagrid and I want to connect a datasource to it and I want that datasource to be based on a local filesystem xml file.
...