| bulk insert - form collections for novice (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| HI There, I am making the transition from asp to asp .net, I am currenty writing an application that requires a bulk insert from a webform into SQL server, normally I would just create rows of html textboxes and then use the Request.Form.Count property to collect each field. What I would like to know is what is a good way of doing this in asp.net? Do I need to create an array of textboxes or can I... |
|
| Button and Label differences (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| I'm trying to use the code found in this newsgroup post: http://groups.google.com/groups?hl en&lr &ie UTF 8&c2coff 1&threadm %23JZYO4XRDHA.4024%40tk2msftngp13.phx.gbl&rnum 1&prev /groups%3Fq%3DC%2523%2520find%2520appropriate%2520font%2520size%26hl%3Den%26lr%3D%26ie%3DUTF 8%26c2coff%3D1%26sa%3DN%26tab%3Dwg WHen i use it an attempt to have my usercontrol inherit from a System.Windows.Forms.Label the... |
|
| Button Behavior (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I am working on my first web app and I am confused by the default behavior of Button control. When I try to use it to execute some code it takes one click to get focus and a second click to actually execute the event. I don't see my users liking this. Any help is greatly appreciated. |
|
| Button click event handler in the custom control - not working (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hello, This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit Click()], is not getting invoked. Could anyone please go thru the code and let me know what I am missing here? Thanks in advance! My custom control is as... |
|
| Button Click Event Handling (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Hi, I would like to have a custom event handler attached to th click event of a button: btnTmp.Click new CustomeEventHandler(EventHandler); I have tried searching for an example of this, but have not had any luck can anyone help? Mark |
|
| Button Click handler to Spawn Window (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I am looking for a button click event handler that will open a new window and transfer control to it. This will be similar to target blank processing for a hyperlink control but using a button control in its place. What was the source of your information? Thom Little www.tlaNET.net Thom Little Associates, Ltd. |
|
| Button control (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have a button in my webform.aspx And I have a htm document or page. What I want is that when I click on the button I want to display the htm page. In other words it is just a back button Need help thanks in advance Justnew Posted via http://www.mcse.ms View this thread: http://www.mcse.ms/message347224.html |
|
| button control and cancel submit (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I use Attribute.Add to call a javascript function client side from an asp:button control. The javascript function opens a window. My problem is that the submit event fires after the javascript code executes. When I view the source in "running documents" I see that the button is declared as "type submit", even when I provide a commandName, which I thought changed a submit button into a command butt... |
|
| Button in custom webcontrol - event handler not called (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hello, This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit Click()], is not getting invoked. Could anyone please go thru the code and let me know what I am missing here? Thanks in advance! My custom control is as... |
|
| Button in custom webcontrol - event handler not working (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.buildingcontrols |
| Hello, This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit Click()], is not getting invoked. Could anyone please go thru the code and let me know what I am missing here? Thanks in advance! My custom control is as... |
|
| Button Question. (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| Hello, i have a form in an ASP.net / VB with 2 buttons: code form action "" class "tableForm" runat "server" asp:Button ID "Ybt" runat "server" OnClick "Go" Text "Yes" / asp:Button ID "Nbt" runat "server" OnClick "Go" Text "No" / /form /code and then i have this VB script: code script runat "server" Sub goToPage(sender As Object, e As System.EventArgs) Response.Redirect("pageYes.aspx") End Sub /sc... |
|
| Button_click (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| HEllo. In Event Button1 click i have some code. And I would like to call this event from other part of code. For example Private Sub MenuItem2 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click call button1 click BUT this is bad, how can I call It? End Sub Thank YOu. |
|
| Buttons in Datagrids (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Anyone know if it is possible to have a button inside a datagird that will launch a new window? I have a button on my webform that does this currently and it works fine. I took that code and put a button into the datagrid template and wanted it to do the same thing per line and pass that line information into the window it launches, however, it is not working. so far the only code I have on the bu... |
|
| Buttons on form always disabled (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| I'll try this one again now that my subscription registration is finally in order. buttons on form disabled I 'borrowed' a fairly comprehensive scheme of turning bound dataform buttons enabled and disabled from ADO.NET core reference chapter 13. It worked for 15 or so forms, but finally failed on the authors form. The close button which I left out of the scheme was also disabled. The property valu... |
|
| Byte array data column (VIP replies) |
| microsoft.public.dotnet.framework.adonet |
| How can i keep array of byte in my Data Table, is it possible to do that. I reason i need that is beacuse i wish to keep a table of records with one column which has BLOB data during run time is there anyway i can do it? |
|
| C# Aplpication talking to Excel Add-In (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I have the following requirements: Build a stand alone C# application that asks the user to click in a cell in an Excel spreadsheet, and then displays the address of that cell in the C# application. It seems simple enough, but the problem I'm encountering is as follows: In order for the user to select the cell from Excel, they must first click once on the Excel window to give it focus and then the... |
|
| C# CFC Issue - The IASyncResult object was not returned from the corresponding asynchronous method on this class (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I have a simple question: Why a simple socket with IAsyncResult works fine on PC but not on Pocket PC. I have an exception given by EndReceive( ar ); Okay, I know that I can pass the socket as parameter of the IAsyncResult, but here is not the question: Why this code runs fine on PC but I have an exception on Pocket PC. Here the code: using System; using System.Drawing; using System.Collections; u... |
|
| C# class not implementing VB.NET interface (VIP replies) |
| microsoft.public.dotnet.general |
| OK...I must be missing something...can someone tell me what I'm not doing properly.... First, create an assembly with a single interface in VB.NET as follows Public Interface IDog Function Bark(ByVal lVolume As Long) As String End Interface Pretty simple... Now...in a second (C#) assembly...create a class that implements that interface...like so... using System; using DogInterface; namespace CSImp... |
|
| c# code (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| hi i was going thru some samples and i couldnt understand what this line means public delegate void DataListItemEventHandler(object sender, DataListItemEventArgs args); what is a delegate and what are delegates used for? thnx |
|
| C# code works but VB.NET shows a precompile error (VIP replies) |
| microsoft.public.dotnet.framework |
| I have the following code in C#, and it works fine. After porting the code to VB.NET, I get a precompile error in the IDE. Does anyone know why this could be happening? protected delegate void MulticastDelegate(object sender, EventArgs e); virtual public void Subscribe(object tag, EventHandler eventHandler, bool loose) { //... other code above omitted // create the delegate for this event handler ... |
|
| C# Insert Command Parameter Error Message (VIP replies) |
| microsoft.public.dotnet.general |
| I am trying to insert some data into a sql server 2000 database using c#.net. I am getting the following error message: SQL Error 8178: Prepared Statement ..... expects @Param1, which was not supplied. Here is the code snippet where all the work takes place: private void btnSave Click(object sender, System.EventArgs e) { int time 0; sqlInsertCommand1.CommandType CommandType.Text; sqlInsertCommand1... |
|
| C# Threading (VIP replies) |
| microsoft.public.dotnet.general |
| Under my button click event, I have code that will call another method that takes 3 4 seconds. I want to be call that method and be free to do something else. I know this can be done with threading, but I just can't seem to get it right. Below is what I have so far. The Join statement is what is holding up the code. Any suggesstions? Thanks. private void btnSend Click(object sender, System.EventAr... |
|
| C# to VB.NET (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I found some code that does exactlty what I need, but it is in C#. Could somebody please help me convert it, I don't know C#. Steve |
|
| C#, Threads, Events, and DataGrids/DataSets (VIP replies) |
| microsoft.public.dotnet.general |
| I am trying to run a thread off of a form, and every once in a while the thread will raise an event for the form to read. When the form gets the event, the form will place the event into a dataset and display it on a datagrid that is on the form. The problem is that the thread will slowly take over all of the processor time. After about 8 events, the form will not even respond anymore. Here is the... |
|
| C#-client using MS Word ? (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, everything works apart from the last line : (( rng.Value2.ToString() An exception is thrown : "Old format or invalid type library" It gets compiled though (so he recognizes the property 'Value2'). So I suppose I'm using a incompatible type lib. I'm using Excel 2002 : Excel 10.0 Object Library Any ideas ? Maybe ... using another way to retrieve the value of a cell ? thnx Chris "Arne Janning" sp... |
|