Jump to content
Xtreme .Net Talk

niv

Members
  • Posts

    9
  • Joined

  • Last visited

niv's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, Does anyone here know how I can play a wav file on my Symbol mobile device from a mobile web application written in ASP.NET and c# Thanks, niv
  2. Hello, I am creating a mobile application using c#. I keep getting and SqlException when I try to open a database from a mobile application using the code below. SqlConnection cnn = new SqlConnection(); cnn.ConnectionString = @"Server = TFD1;" + "Integrated Security = SSPI;" + "Connection Timeout = 5;"; This code work on reqular .NET C# applications but not on the mobile application. Does anyone know why? Thanks, niv
  3. Hi, I have a Listbox on my form and I have set its Datasource to a DataView. When I try to add to this listbox I receive the following error: " Cannot modify the items collection when the Datasource property is set." Anyone know how I can solve this? Thanks, niv
  4. thanks... I will try this out.. the example you provided will help a whole lot. Thanks again, niv
  5. I am unsure on how to retrieve data from tables 2 tables that are related through a relationship table.... This seems to confuse me...! TableOne -------- TableOneID TableOneDesc TableTwo -------- TableTwoID TableTwoDesc TableOne_TableTwo_Relationship ------------------------------ TableOne_TableTwo_RelID TableOneID TableTwoID I have related TableOne to TableOne_TableTwo_Relationship. Then I have related TableTwo to TableOne_TableTwo_Relationship. DataRelation TableOneToRelTable = dsTest.Relations.Add("T1ToRel", TableOne.Columns["TableOneID"], TableOne_TableTwo_Relationship.Columns["TableOneID"]); DataRelation TableTwoToRelTable = dsTest.Relations.Add("T2ToRel",TableTwo.Columns["TableTwoID"], TableOne_TableTwo_Relationship.Columns["TableTwoID"]); I am unsure on how to traverse though the set relationships to retrieve data. ie) I want to print out all TableTwoDesc that have been related to a specific TableOneID. Thanks for your help, niv
  6. DataRelation question Hello, I have 3 tables Tables Chairs TableToChair_Relationship I am working with these tables seperately. I have found that by using a dataview, I can filter the datatable. This is great... what I need to do now is to relate Tables to TableToChair_Relationship to Chairs using a datarelation. Questions: (1)Can I relate 3 tables using the datarelation? (2)How do I use dvNew.RowFilter to only return all chairs that can be available for a given table. (3)I currenly set the dataview to a datatable. dvNew.Table = dsTest.Tables[0]; Should I set the dataview.Table to the datarelation? Thank You, niv
  7. I want my form to be able to fit either 1024 X 768 or 800 X 600. Can someone please point me to an example. Is there a way to hide a column or columns in a listbox? Also, I want to populate a listbox with multiple columns. Below is what my dataset returns. Unique Identifier, CustomerName I have tried setting the MultiColumn = true; and ColumnWidth = 2; but I get strange results when I use the code below to populate the listbox. LBox.Items.Add(myRow.ItemArray.GetValue(5).ToString()); Thanks for your help, niv
  8. Listbox Question I have 2 columns that I need to return from SQL into a listbox. UNIQUEID , FIRSTNAME FirstList.Items.Add(myRow.ItemArray.GetValue(5).ToString ()); The code above only adds 1 item to a row... Anyone know how to add 2 entries for every row in the listbox? niv
  9. Something strange is happening and I need some clarification. When I click on the Start button <F5>, the IDE just hangs. Im not sure why it does this. I am able to run the application using Start without Debugging just fine <CTRL>+<F5>. By the way, Im running the latest release of VS. VS 2003, Windows 2K Advanced Server SP3. Please help. Thanks, niv
×
×
  • Create New...