| Need help. Cannot get typed data row when filterring with DataView. (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| I have a typed DataSet generated from an XSD file in which I am trying to filter the data with a DataView. I get the DataSet.DefaultView object and setup my filters. The only problem is, that the DataView collection does not have a collection of my typed row. I can only can work on a collection of typed DataRows from the DataView collection. Is there anyway to filter a typed DataSet using a typed ... |
|
| Need quick help... (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I have to add a property to an object that is already allive. The problem is that I'm creating MainMenu from a definition file ... enyway , there is a need to add each menu item some extra informations. I used to do that using Tag property of an objects but ManuItem doesn't have anything like that. So how to add a Tag property to a MenuItem? |
|
| need selected value from dropdown list box (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hi just wondering how to get the selected value from a dropdown list box in a template column of a datagrid? I set up the DataGrid1 ItemCommand method and put a breakpoint in it but after making a selection from the dropdown list box the breakpoint is not hit. Thanks. Paul G Software engineer. |
|
| Need to add aditional column to Datagrid (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I am new with VB.Net and I need some help I am building an ASP.Net application in where the user enter a letter and then press a button that make a SELECT in a SQL database. The results are displayed in a Datagrid This application is for look up phone numbers I made the SELECT from three fields (LASTNAME, FIRSTNAME and NUMBER), I need to add something like a hiperlink or a button in each row t... |
|
| Need to add aditional column to Datagrid (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| Hi, I am new with VB.Net and I need some help I am building an ASP.Net application in where the user enter a letter and then press a button that make a SELECT in a SQL database. The results are displayed in a Datagrid This application is for look up phone numbers I made the SELECT from three fields (LASTNAME, FIRSTNAME and NUMBER), I need to add something like a hiperlink or a button in each row t... |
|
| Need to add EventHandler to control created at run time (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have created an array of buttons at run time and need to associate them with a click event. Below I have included the code used to create the controls at run time and hook up the button with the event: intLeft 16; intTop 600; for(intElement1 0;intElement1 datResults.Tables[0].Rows.Count;intElement1 ) { btnUpdate[intElement1] new Button(); btnUpdate[intElement1].Style["Position"] "Absolute"; btnU... |
|
| Need to create Eventhandler for control created at runtime (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I have created an array of buttons at run time and need to associate them with a click event. Below I have included the code used to create the controls at run time and hook up the button with the event: //create array of Update buttons intLeft 16; intTop 600; for(intElement1 0;intElement1 datResults.Tables[0].Rows.Count;intElement1 ) { btnUpdate[intElement1] new Button(); btnUpdate[intElement1].S... |
|
| Need to create EventHandler for control created at runtime (VIP replies) |
| microsoft.public.dotnet.general |
| I have created an array of buttons at run time and need to associate them with a click event. Below I have included the code used to create the controls at run time and hook up the button with the event: //create array of Update buttons intLeft 16; intTop 600; for(intElement1 0;intElement1 datResults.Tables[0].Rows.Count;intElement1 ) { btnUpdate[intElement1] new Button(); btnUpdate[intElement1].S... |
|
| Need to replicate Classic ASP in ASP.NET using Datagrid (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I hope the attachment makes it. I want to move this control to ASP.NET using the datagrid if possible. The screenshot shows what i have in classic ASP. I have a datagrid, with the top row a textbox for each column. The reason for this is the user can filter all the results by typing in the textbox. It works GREAT in classic asp but i want to move it to .NET. The "All WorkOrders", "Compatible Unit ... |
|
| Need to store 2 values per row in a combo box (System.Windows.Forms.ComboBox) (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| Hello, I need to store 2 values in each row of a combobox: one will be displayed in the drop down and the other will be hidden and will contain the record ID of the displayed value. How do I do that? The display value goes in like this: pCbo.Items.Add(myRS(1).Value) but how do I store the corresponding record index that I get from myRS(0).Value ? I need to do this programatically, I can't bind the... |
|
| Nested Grids for Hierarchical Data (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| I try to convert the code for this article from c# to vb and just can not get it to work. (53): 'Public Event UpdateView(sender As Object, e As System.EventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. Public Event UpdateView As EventHandler Private Sub OnUpdateView() If Not (UpdateView Is Nothing) Then UpdateView(Me, EventArgs.Empty) End If End... |
|
| Nested XML and DataSets (VIP replies) |
| microsoft.public.dotnet.xml |
| Hello, I have the following XML file: events event name "event1" sessions session date "23 Feb 2004" time "10:00 15:00" location "Toronto" / /sessions /event event name "event2" sessions session date "25 Feb 2004" time "10:00 15:00" location "Toronto" / session date "26 Feb 2004" time "10:00 15:00" location "Toronto" / /sessions /event /events I would like to read this file into any kind of storag... |
|
| New to c# - events & delegates (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hello, How can I setup an event in C#? I would like for class A to have an event, and class B to intercept the event. Class B should not be able to call the event itself, only class A. How is this achieved in C# ? Are there any sample/tutorial projects which do just what I am asking? |
|
| Newbie - Help with arrays (VIP replies) |
| microsoft.public.dotnet.languages.vb.controls |
| Hi, there! For whatever reason, I can't figure out how to code a simple program and I need help. The user enters a name in a Textbox and clicks the Add Name to Array button and the name is added in an array that can hold 4 items. The name is added to a Listbox and the array element is added to another Listbox. Here is what I have: Private Sub btnAdd Click(ByVal sender As System.Object, ByVal e As ... |
|
| Newbie - Hints (VIP replies) |
| microsoft.public.dotnet.general |
| I am trying to develop a simple control that can be moved around on the parent form. I tried capturing MouseDown, MouseMove and MouseUp events and respond by changing the location of my control. Does not seem to work very well. when the control is moved, it seems to leave a shadow from where it was moved. Well, I am looking for a simple way to implement a "movable" control. kind of like a chess pi... |
|
| NewBie - Textbox Control (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, My teacher gave me this assignment, make a form with five textboxes, write an function that looks if the textbox holds some information if so goto the next textbox, if this textbox doesn't hold any information remember that. Goto the next textbox to see if it holds information if so place this information into the textbox that didn't hold any information...and so an. Anybody have a idea?? I al... |
|
| Newbie - Update method not saving with Access database (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi All; Learning ADO.Net and did a simple form to see how everything works. Data is displayed but changes are not updated. Here is the code: Imports System.Data.OleDb Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization a... |
|
| Newbie confusion on assignment, references, pointers, arrays.. (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| If I do: TextBox [] tb new TextBox [10]; Does it actually create 10 textboxes? I would think so but that is not what I want. I want to create an array of 10 pointers to textboxes. So if: TextBox []; And then later: TextBox box new TextBox; and then: tb [0] box; What happens? Am I placing a pointer to box in the array, or am I copying the box into the array and creating a new box in the process? I ... |
|
| newbie Event question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, I am not quite understand the syntex for Event. Class My Class Event My Event(ByVal parm1 As String) Sub Raise My Event() Rasie... My Event("ABC") End Sub .... End Class Dim WithEvents My Obj As New My Class Sub My Handler(ByVal parm2 As String) Handles My Obj.My Event .... End Sub 1) "ABC" is passed to parm1 for sure. 2) Does the number of parameters for My Handler have to match with My Event... |
|
| Newbie having problem with dataset/recordset (VIP replies) |
| ASPFriends.com 'aspngvb' list |
| I have taken an application that works in VB6 and used the upgrade wizard to convert it to vb.net. Parts of this work, but I having an issue with the following section of code... In the public declaration area, I have: Dim Cn As ADODB.Connection Dim Rs As ADODB.Recordset Dim Dict As Scripting.Dictionary Dim CnStr As String Then Private Sub Timer1 Tick(ByVal eventSender As System.Object, ByVal even... |
|
| Newbie needs a tutorial on reading from and writing to nodes in an XML file (VIP replies) |
| microsoft.public.dotnet.xml |
| I have an ASP.NET app that I am writing using VB.NET and I want to use an XML file to store configuration settings in sort of like the way I used to use an .INI file for in Windows apps. When the user opens a page, it needs to go read certain settings out of the file and fill textboxes and other form fields with the data from the XML file. If the user makes any changes on the form, it needs to wri... |
|
| Newbie needs help with homework how can I return change in numbers or dollars, quarters etc? (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Newbie needs help with homework how can I return change in numbers or dollars, quarters etc? This question is so simple I am embarrassed to put it here but I have only been coding for 1 month and am totally stumped!! My homework requires me to make a program that calculates change returned and then displays how many dollars, quarters, dimes, nickels, and pennies to give back for the change. like $... |
|
| Newbie needs Help with updating DB from changed dataset (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| The following code takes data from excel spreadsheets adds a record to the dataset and puts the excel cell value in the correct column. It uses an oleCommandBuilder to generate the proper SQL Insert statement. I get the excel sheets open and extract the data, add a new row and populate it with data, add the row to the dataset but the app doesn't update the Database. What am I missing? Private Sub ... |
|
| Newbie Problems Updating SQL (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| I am having some problems updating an SQL view with a button click. Could someone point me in the right direction? This code runs without any errors, but the sql command never makes it the the SQL server. I'm not using a parameters collection or anything, basically because I am not sure how to map textboxes to SQL Parameters. If there is a better approach, please let me know... Thanks, Aaron Publi... |
|
| Newbie question (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I am a VB .Net newbie trying to re code an application from VB to VB .Net 03. The application starts with a login form(frmLogin) that verify users' identity before loading the main menu form(frmMenu). frmLogin is unloaded once frmMenu is loaded. In VB, this is how I do it: In frmLogin.... Private Sub cmdLogin Click() 'Some codes here frmMenu.Show Unload Me Set frmLogin Nothing ' End If End Sub But... |
|