602 Posted Topics
Re: I was going to say you could save yourself some time with a SiteMapPath control but I'm not 100% sure the SiteMap will differentiate between parameterised URLs, you could always give it a go though and see. [Click Here](http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.sitemappath) for the microsoft page on the SiteMapPath control | |
Re: How are you retrieving and storing your data? Dataset? If so are you remembering that the dataset is not connected to the Database once populated? i.e. you can insert/ modify/ Delete records in it's datatables (they're held in memory) but you have to make specific calls to update the Database … | |
Re: I think it is your strings you are using for your queries e.g. > SELECT value1,value2,value3 FROM Video WHERE ID = value Then you try and add parameters > .Parameters.AddWithValue("@ID", value) But your select statement is just a string i.e. the database has no idea what value is. You seamed … | |
Re: I think you want something like this: dim i as integer For i = 1 to 20 ToonInfo = ReadSpecifiedLine(label6.Text, i) if Instr(ToonInfo, ":") <> 0 then 'do what ever exit for end if next Instr searches for an instance of a string within a string if it finds the … | |
Re: Your Code has defined dr as a SqlDataAdapter not a SqlDataReader... | |
Re: 1. Open Google 2. Type "SqlCommand Class Vb.Net" 3. Click Google Search This is basic VB.Net in particular ADO.Net | |
Re: Noticed the same thing with adverts, program is at one level then adverts come on at a higher level - Now I tend not to watch live tv (unless it's a big sports event,) so I can fast forward through the adverts. | |
Re: Hi, To be honest why? There are plenty of cheap or free tools out there to do this for you | |
Re: Hi, The short hand in SQL for localhost is as follows "<local>" or "." However this is not exactly what you are asking... Looking at your example your colleagues are using SQLExpress edition and you are using something like Developer or Enterprise. By default, the licenced versions use the "default" … | |
Re: Unless the 4 tables hold the same fields (or at least fields you could map to each other,) then I doubt you would be able to do it as a single query... But if you are trying to get them all in to one csv then you must be able … | |
Re: Hi, You have 3 arrays (row1, row2, result) I only see you giving one of these arrays any dimensions (result) and you are recreating and so wiping out your result array each time. Also, I see you are using integers e, f, g, i, j, k etc. but I don't … | |
Re: Hmmm I think you are going to have to rebuild the Array each time or end up with a load of empty values at the end of the array... | |
Re: Are you sure the combo boxes are returning integers? I can't remember if it is SQL Server or the Sql Native client, but it will try and convert something it doesn't recognise as an integer to one and I wouldn't rely on it. Try something like this where you ensure … | |
Re: Hi, Yikes! Always a nightmare taking over someone elses code especially if not documented. You'll need to check what rows have changed and then update them individually. So basically you'll need to compare each value that is there now with the original values then if it is different run an … | |
Re: Hi, Depends on what you wish to do... You will probably need to use client side javascript as you can not force a browser to reload/refresh from server side... Unless you are doing something like counting between responses... | |
Re: Hi, It maybe easier to do the following: In your database student table, insert a primary key called id and a second column called studentID the first column should be an autoincrementing field. So that when a new student is created they will have a unique ID. The second column … | |
Re: Hi, Do you have account_id set to be an identity? I don't see you creating an Image value either do you have it set to accept null values? | |
Re: Hi, What edition of SQL are you using? For *most* versions of SQL Server, Datasource should generally be the **Server Name**, SQL Express is the exception where it will be **Server Name\SQLExpress** or if you have a named instance **Server Name\Instance Name** Try this link: [Click Here](http://www.connectionstrings.com) For example my … | |
Re: 1st of all the guy tried to help you and you just gave him abuse. 2nd You **NEVER** mentioned the web browser control on your original post. 3rd Your issue is with poorly formatted HTML. If this is your attitude to someone helping you, then good luck getting anyone else … | |
Re: As someone who has recruited in the past, my main concerns were: 1. Did this candidate have the experience relevant to the position? 2. Would this person fit in with my team? 3. Would they enjoy working in this position? I would also say that I have dealt with people … | |
Re: This should start you off in the right direction: [MSDN](http://msdn.microsoft.com/en-us/library/ms180890(v=vs.80).aspx) You should be able to update for whatever version of the .NET Framework you're using. | |
Hi, Ever had an application that you want to store user specific settings on? e.g. login name or Form background colours, User specifc DSN connections etc. So the next time they run the app the information is there for them? This can be achieved in VB.net with just a few … | |
Why are Databases listed under Web development? and not out on their own? I've seen plenty of Database issue listed under Software development | |
Re: Hi, If I understand you correctly, you wish that your users will always access your site through the root page? In otherwords, if they have put a page further into your site into the browser URL you will direct back to the root page? I would create a session variable … | |
Re: Hi Instead of passing in a fixed datasource to your radio list you will have to dynamically set the the datasource. You will need to use the **ItemDataBound** event of datarepeater 2 to capture the question value that you can then use to populate your answers. (It may be easier … | |
Re: Not too familiar with the model but it could be: Laptop in hibernate mode - if you press keys etc what happens or power button again? Some laptops use a catch or pin to detect if the screen is shut - could this be stuck? | |
Re: One method would be to write a seperate sub routine that you call from your mouse click routine ands from where ever you wish to simulate the mouse click. | |
Re: Hi, Ask the landlord would he take a bankers draft for the deposit - If I understand it correctly it will take time to clear the payment but unlike a cheque it is guarenteed by the bank. This means you have time to cancel if not contract is produced but … | |
Re: Hi This link will start you off in the right direction it will tell you all about the grid view control and getting the **SELECTED ROW** and navigating the **CELLS** to get the ID of the selected Record etc. that you could pass into the form to show the specific … | |
Re: Believe it or not this site [http://www.connectionstrings.com](http://www.connectionstrings.com) shows you how to connect to just about any datasource from ASP and ASP.NET etc. | |
Re: Hi, I think it's great your posting your code but what exactly is wrong? | |
Re: If you use a FileUpload server control you should be able to get this information and more, this is the link from the MS site: [Click Here](http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.fileupload.aspx) | |
Re: Depends what you mmean by "Right Side Bar" The scroll bar? or something on your page? Anyway in ASP.Net if it is an object on your page you want to hide that is easy: Object.Visible = false | |
Re: Hi Few questions: Is this Client side or Server side? What language are you using? | |
Re: Hi What database are you using? You refer to BooksDataSet and BooksDataSet1 what are they? Data sets? should they be the same? How are you retrieving your data? DataAdapter? | |
Re: Like in this snippet: http://www.daniweb.com/software-development/vbnet/code/296812/storing-and-retrieving-application-user-settings | |
Re: Hi I found this but it is in c#... [URL="http://www.codeproject.com/KB/printing/custom_paper_sizes.aspx"]http://www.codeproject.com/KB/printing/custom_paper_sizes.aspx[/URL] | |
Re: I'd start by creating a new table to hold the reciepts... | |
Re: Hi, Can you post some of the code and we will see what is happening? Off the top of my head , you could try a SELECT DISTINCT query to get rid of repeating values - it depends on what your DB structure is if you should be getting them … | |
Re: Type this into google "Joining tables in a SQL query" | |
Re: Hi, I take it this is on an Intranet site. If not, you should look at using other methods of authentication for security reasons. Anyway now that is out of the way, are you sure the user is acessing the site as their own account and not the IGuest user … | |
Re: See my reply on the other post - get back into that lab ASAP and back on to the same machine and ensure it was actually saved to the folder and not somewhere else | |
Re: You need to loop through the RTF box line by line and pass the string (the line), through the Reverend Jims code dim MyLines() as String dim MyLine, userpass as string dim i as integer = 0 MyLines = MyRTFControl.Lines For i=0 to ubound(MyLines) MyLine = myLines(i) userpass = myLine.Split()(0) … | |
Re: Oh No! 1. You may not have not actually saved your solution to your pen drive - a pen drive mounts itself on to a computer to the first available drive letter so for example it may have been your F: drive at home but when you got onto the … | |
Re: I'm not 100% sure you are actually using Internet Explorer but anyway I doubt you can change it to use Chrome. You would more likely suceed in opening an instance of Chrome on the desktop and passing a URL into it. | |
Hi, I'm probably missing something really simple or trying too much at once but it's 16:30 on a Friday afternoon and my head is wrecked!! Basically, I'm trying to build an application that takes out put from a database query as XML and uses XSL to transform it into HTML … | |
Re: I think you will have to try passing Javascript code in with your HTML stream and do it that way. | |
Hi, I'm a developer by trade but I've done some networking in the past (mostly buying and creating machine specifications but also a bit of firewall management and AD policies,) In a previous company I was even Manager of the Systems department (Developers and IT guys) Anyway I've recently joined … | |
Hi I have a real conumdrum here - I just can't expalin this behaviour!! A colleague has designed a view that contains the following : `CONVERT (nvarchar(4),YEAR(dbo.SYSFinancialYear.FinancialYearStartDate)) + N'/' + RIGHT ('00' + RTRIM(CONVERT (nvarchar(2), dbo.SYSAccountingPeriod.PeriodNumber)), 2) As YearPeriod` When you are in the design view, of the view and … |
The End.