Topics
-
this is a test. . . this is only a test. . .
Last reply by EFileTahi-A, -
-
- Administrators
- 2 replies
- 724 views
Just a quick one here - if I have more than one DatAdapter, can I use the same connection to read data, or do I need to use multiple connections? Thanks, Paul.
Last reply by mandelbrot, -
-
- 4 replies
- 2.5k views
Does anybody have any recommendations on a company with great Outlook style controls (menu/navigation bar) ? I have already looked at ComponentArt, but I'd like to look elsewhere at the same time. Thanks, Patrick
Last reply by moongodess, -
- 4 replies
- 3.9k views
Hi to all, I'm currently loading an excel to a DataSet and show the information in a Datadrig. Every month a new excel with the same format arrives and my application will process the information. My problem is that the name of the excel sheets don't always come with the same name, and there is no pattern to those names. Is there anyway for me to know the sheet name before i make the select ?? I have this simple code to load the Excel file to a datagrid private void btnExcel_Click(object sender, System.EventArgs e) { try { System.Data.DataSet DS; System.Data.OleDb.OleDbDataAdapter MyCommand; System.Data.OleDb.OleDbConnection MyConnection; MyCon…
Last reply by rfazendeiro, -
-
- *Experts*
- 10 replies
- 3.5k views
Ok, I tryed: myDataTable.DefaultView.Sort = "column_name asc"; myDataTable.DefaultView.Sort = "[column_name] asc"; But nothing... No columns sorted... No errors... Am I doing something wrong? NOTE: I'm using the sort thing on some independent DataTable that haves no connection with my MySQL DataTable.
Last reply by pendragon, -
-
- 2 replies
- 1.2k views
Hi, I have a problem on a webform on which I have several textbox fields and a submit server control button. When I display the first time my webform, it reads a database and displays values in the textbox fields. Then the user will have to change the values and click on the submit form and when I do that, the values in the textbox fields have not changed, it saves the values displayed on the first display... :( Does anyone have an idea. NB : I tried with a new webform with only 2 textbox fields and it works, so, it is not a web.config parameter or something like that...I checked the Viewstate enable/disable values and there's nothing special (I kept the default…
Last reply by scalf, -
-
- Leaders
- 4 replies
- 2.4k views
How to build a package in .NET? Setup.exe
Last reply by miwaypro, -
-
-
- *Experts*
- 6 replies
- 999 views
the dataadapter will return and update the dataset with the current "dbrow" values when there are no errors. However, i can't seem to figure the way to return the current "dbrow" when there are errors. any ideas?
Last reply by barski, -
-
-
- Leaders
- 3 replies
- 847 views
i have a form and i want to see folders in one window and the files in those folders in another window image attached of how i need it to work. http://www.mwarburton.pwp.blueyonder.co.uk/shot.gif
Last reply by snarfblam, -
-
-
- Leaders
- 1 reply
- 632 views
I have a ListView with 5 columns. I want the user to use the mouse to click on any row and have the index of that row save into a variable. Same as can be done with a listbox. I'm trying to avoid the checkbox. thanks in advance :rolleyes:
Last reply by snarfblam, -
-
MailMessage mail = new MailMessage(); mail.To = xxx@xxx.com; mail.From = xxx@xxx.com; mail.Subject = "xxx 10/10/2005"; mail.BodyFormat = MailFormat.Html; mail.Body ="large amount of html approximately 1080 rows of a table"; SmtpMail.SmtpServer = "xxx"; SmtpMail.Send(mail); Is there a limit to the amount of data that can be send using the c# mail methods... I am trying to send 1078 rows of data through but the html I get out from the email is slightly deformed, i.e. ! are inserted between some of the </!td> tags..... If I limit it to 140 rows or less things are fine...... Is there a max number of data that can be sent at a time.…
Last reply by fizzled, -
- 1 reply
- 1.6k views
Hi: We are using the WIALIB set of classes/libraries to capture images from our scanner. My question is, does anyone know how to bypass the GUI dialog? For example, in one of the code samples at the code project, the following line prompts the user with the GUI dialog inherit to the scanner being used (or at least, that's how I interpret it). (C#) wiaPics = wiaRoot.GetItemsFromUI( WiaFlag.SingleImage, WiaIntent.ImageTypeColor ) as CollectionClass; if( wiaPics == null ) return; There are two other possible methods associated with this object...Transfer() and TakePicture(). Neither seem to apply to the scanner. The entire project is at http://ww…
Last reply by ehelin, -
-
- *Experts*
- 2 replies
- 793 views
Is there away to limit the number of lines in a textbox using visual basic.net? Is so how?
Last reply by lothos12345, -
-
- 0 replies
- 1.8k views
i have an Outlook macro that reads incomming email and updates an access database according to the emails. i have a VB.Net application that reads that database and compils a real-time display of what emails have some in and which indicated a failure by our customers and also which scheduled emails has not arrived at all. i want to be able to distribute this entire application to another system but i always have to update the new system with the vb.net setup application and then copy the outlook macro to the new system separatly. how do i include the vb.net macro in my setup project to install and be ready for outlook to use with out doing anything other than running setup…
Last reply by kelphis, -
- 1 reply
- 1.9k views
Hello everyone, I am relatively new to VB.Net and i have a file that contains names and numbers like this: LastName,Sale,Cost ----------------------- Abercrombie,20000,14000 Chen,10000,11000 DiSanctis,16000,14500 Abercrombie,19000,13500 the file is stored in the bin folder and i am trying to store this information in a structure (or array?) so that i can use it later to display a schedual like this one Last No of Total Total Name, Sales, Sales, Cost, Abercombie, 2 - 39,000 - 30,000 DeSanctis, 1 - 16,000 - 15,000 Chen , 1 - 10,000 - 7,000 Bush , 0 - 0 - 0 Total 4 - $65,000 - $6,350 The schedual will be displayed in a List Box (lstDisplay)…
Last reply by Machaira, -
-
- Leaders
- 7 replies
- 5.3k views
I just wanted to get some opinions about the best practice for placing control characters into strings. I guess I can always still use the old Chr function (or ChrW), but without creating constants or memorizing the ASCII tables, it is not immediately clear which control character I am inserting. My favorite is the new Microsoft.VisualBasic.ControlChars namespace. However, I've read where a lot of people suggest staying away from the Microsoft.VisualBasic namespace, because of compatibility with the other .NET languages and confusion when dealing with non-VB developers. How important is this? What do you think? Todd
Last reply by tfowler, -
-
- 2 replies
- 807 views
I'm in the process of switching my apps from Access to SQL2000. Everything was working fine with Access but now as I'm making the switch to SQL, I'm having problems. First, when I click an item in a ListBox, the selectedindex does not change, it stays at 1. <asp:listbox ID="ListBoxMaster" runat="server" AutoPostBack="true" Rows="22" Width="300" DataValueField="LEAD_ID" DataTextField="COMPANY" OnSelectedIndexChanged="SelIndexChange" /> The following code in SelIndexChange always returns the value of 1, no matter which item in the list I select: Dim LeadID as integer = ListBoxMaster.SelectedItem.Value Second, when I pick an item from a dropdownlist, the …
Last reply by rangerstud620, -
- 0 replies
- 1.5k views
I´m tryíng to deploy enterprise library (newest edition) on a comercial server. The problem is that as it is configured now it need trust level = full in machine.config and that is not an option on the comercial server. Anyway around that? Thanks ~Robin
Last reply by RobbanH, -
-
- *Experts*
- 4 replies
- 928 views
Dear All, I'm having a bit of bother with the following code. A generic SQL exception is returned each time, but I can't for the life of me track down the problem. Private Function GetConnectionString(ByVal paramServer As String, ByVal paramDatabase As String) As String 'Define the connection and command to connect to the database name server... Dim localConn As New System.Data.SqlClient.SqlConnection("integrated security=SSPI;data source=""stm-sysdev""; " & _ "persist security info=False;initial catalog=dbreg; ") Dim localComm As New System.Data.SqlClient.SqlCommand …
Last reply by mandelbrot, -
-
-
- *Experts*
- Administrators
- Leaders
- 17 replies
- 1.9k views
Just clicked on Forum Leaders on the bottom of the home page. Realized I have never seen half these people post. Most haven't posted in the last year. Some of the administrators have less than 10 posts. Someone should kick them off.
Last reply by EFileTahi-A, -
-
Who's Online 0 Members, 0 Anonymous, 52 Guests (See full list)
- There are no registered users currently online