Topics
-
- 6 replies
- 4k views
:confused: :) My webpage users will be uploading an Excel file They will click on Browse button and Select their Excel file and then click upload button.But befor the uploading happens I want to check whether this excel sheet contains all the compulsary fields and are in correct format. How can I do this. Any other better ways/ideas to do this.Please help ? (I am using ASP.NET with C# coding) Thank u all in advance :confused:
Last reply by FZelle, -
Hello all, Say I have a string strData="4567n54y454=43nv345h983", and I want to seperate them into strData_1 = "4567n54y454" (takes every thing before '='), and strData_2 = "43nv345h983" (takes every thing after '='). Can it be done easily? I mean, my first thought would be get the position of '=' from strData, and subString it. But, is there an easier way that the same thing can be achieve with fewer code?? Thanks
Last reply by FYRe, -
- 1 reply
- 715 views
Hi all, I am a newbie to programming and I am using Visual C# .NET to create a windows form which will show the records of an Access database in the Datagrid. First, I dragged an OleDBDataAdapter from the tool box to the windows form, by using the wizard, I successfully created a OleDBConnection and generated the DataSet and then I dragged a DataGrid from the tool box to the windows form, and in the properties windows of the DataGrid, I set its DataSource to the generated DataSet and set its DataMember to a table of the Access database. Also, I added the displayRecords() inside the blocks of Form1_Load(...) , which will make the "oleDbDataAdapter1" fill the "data…
Last reply by FZelle, -
-
- Administrators
- Leaders
- 8 replies
- 1.6k views
Aren't all objects byRef anyways? Public Sub DoSomething(ByVal X as device ) x.asdf = asdf End Sub Public Sub DoSomethingElse(ByRef x as device) x.asdf = asdf End Sub Same thing isn't it? Objects are referenced by default
Last reply by FYRe, -
-
-
- *Experts*
- 5 replies
- 1.4k views
how to open a file with extension ".dll" ? Using which program ?
Last reply by Nerseus, -
-
-
- *Experts*
- 3 replies
- 6.6k views
Im trying to work out whether or not to assign a primary key to a selected column in an access database. I still have an ID field which is auto-numbered to allow a unique identifier between records. So, does it really matter if the ID field has been set to the primary key or not? All database manipulation, queires, etc will be done via code. I don't know a great deal about its purpose. Is it there acting as an index to speed up queries/record navigation....used for setting up relationships inside access... I hope someone can clear this up. Thanks
Last reply by Joe Mamma, -
-
-
- *Experts*
- 2 replies
- 3.7k views
I have a VB.net app that stores data on SQL. I added a new field called "Status" to one of the SQL tables, of type bit, and created stored procedures to retrieve and edit the new field. Everything works perfectly when the app is compiled in Debug mode. However, when it is compiled in Release mode I get the following error: System.IndexOutOfRangeException: Status The code is executed OnLoad: Try MyAppConnection.Open() MyAppSQLCommand.Connection = MyAppConnection drResults = MyAppSQLCommand.ExecuteReader While drResults.Read If drResults("Status") Then Status = "Active" …
Last reply by mfriedenthal, -
-
-
- Administrators
- 4 replies
- 1.7k views
I have a windows 2003 server, IIS 6. I had .net 1.1 installed, my apps were using asp.net state server service, everything was fine. Then I had to installed .net 1.0 for this 3rd party application that required it. When I installed it alongside .net 1.1, my web apps were unable to connect to the State Server service(Unable to connect to state server error), I checked my app mappings in IIS and it says its using .net 1.1, in any case i went ahead and uninstalled .net 1.0 and i still get that error. Has anyone else had this problem? Thanks
Last reply by kahlua001, -
-
- 2 replies
- 745 views
I have used Me.Hide() to hide a form and have opened new form on a click of the next button.This form has a back button and i am planing to close the present form on the click of the back button and unhide the prev form. I just want to know if there is any way to unhide the hidden form.
Last reply by shankar_it, -
-
- *Experts*
- 4 replies
- 950 views
I need to perform some operations on rows that match a certain criteria. The challenge is, to find them by the properties in other tables. I have been using DataRelation objects and expression columns, but my latest hurdle is that I have child tables that don't allow me to look "downstream". The best way to explain this is with an example I suppose... Using the Northwind sample database, imagine you need to locate every Employee for a given region. That means you have to locate an Employee with Territory.TerritoryDescription = 'something'. Ideally, it would be more user friendly if you could write code that was the equivalent of "give me all Employees who work in 'some…
Last reply by dgbailiff, -
-
-
- Leaders
- 2 replies
- 908 views
Hello ive make this code, to rename the files with the "Picture Date Taken" property and i leave it a little ugly... someone can help me to clean up.. i use datatables, for the files, so i can use the unique property and the orderby... but can make it other way... change it at like... Private Sub BDcmdReemplazar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BDcmdReemplazar.Click Dim file As String Dim pattern As String Dim i As Integer Dim Fecha As DateTime = DateTime.MinValue Dim myDr As DataRow Dim myDataTable As New DataTable Dim tmpdate As String If MsgBox("Se van a Renomb…
Last reply by Rothariger, -
-
-
- *Experts*
- 2 replies
- 837 views
I know this is probably not the most ideal place to post this but as I use this site for any vb.net problems I thought why change. What I want to be able to do is be able to create a news scrolling panel (not the best terminoligy, but hopefully you guys know what I mean) on my html page. I remember coming across an example a long time ago where you could just create a html page that you add all your text, images etc. to it and then somehow point the panel to scroll that page. As you can tell I don't normally do html stuff, but is there an easy way to acheive a news scrolling board. Thanks for the understanding with the badly written post. :rolleyes: Simon
Last reply by lidds, -
-
- 1 reply
- 1.5k views
Hello, I have a class person. and this person has different poperties. I also have a form with different textboxes on it. on the change event of the textboxes I put the data also in to the properties of the person object. my question is.... can i do it the other way around. when the value of properties of the person object changes. Can I then automatically fill the textboxes of the form ? do i have to create an event for this? thx, Inter
Last reply by Afraits, -
- 5 replies
- 1.4k views
Crystal Report. I'm new to VB.Net, i know there is a new features - Crystal Report. Can anyone give me an example how to create and show (say, a button press) a report using Crystal Report? I'm using OLEDB and connect to Access DB. :( :( :(
Last reply by neodatatype, -
-
- *Experts*
- 3 replies
- 904 views
I noticed for class like ArrayList implement IList, ICollection, and IEnumerable, instead of just IList which covers them all. Are there any benefits by doing this?
Last reply by Nerseus, -
-
- 1 reply
- 1.1k views
Is there a command that can tell me in .NET the amount of space a particular object is holding in memory?
Last reply by FYRe, -
- 3 replies
- 1.1k views
Is there anyway to set the default view in the openfiledialog to thumbnails? Also, can I get rid of the "my computer" and other icons on the left hand side of the ofd? Thank you,
Last reply by FYRe, -
- 3 replies
- 3.6k views
Hello all. I have seen the other posts on a similar subject, but either I am too tired from staying up all night, or I am overlooking something very obvious. The difference between my situation and all the others - as far as I can tell - is that I am attempting to compile managed DirectX 9.0 using C++. There are also some other peculiarities... but without further ado: -I am running Windows XP. -I installed MS VS .NET 2003. -I installed dxsdk_aug2005.exe - DirectX 9.0c SDK (August 2005): http://www.microsoft.com/downloads/details.aspx?FamilyID=3904b19a-02b9-447b-ab58-c12e2456e9ba&DisplayLang=en -I installed DirectX, choosing to install all possible comp…
Last reply by gregchristensen, -
-
- Administrators
- 2 replies
- 809 views
I have a Datetimepicker.I want to custom its format and want to display the date selected in it, in a textbox as 15-AUG-05.I am not sure of how to declare the format type in Datetimepicker. Can any one help me in this?.
Last reply by shankar_it, -
-
- 2 replies
- 815 views
http://img208.imageshack.us/img208/1720/control0zs.jpg I thought it was a listview, but when looking for sample code etc they all show a listview with just one checkbox attached to the first column. So what is this control? I'm looking to copy the effect of having multiple checkboxes etc. Could this be done with a Datagrid, or is this some weird custom control? Thanks!
Last reply by Goksly,
-
Who's Online 0 Members, 0 Anonymous, 44 Guests (See full list)
- There are no registered users currently online