594 Posted Topics
Re: [QUOTE]Hello! Try this link. Maybe this will help you. Good luck! [url]http://img181.imageshack.us/img181/8...ture125co9.jpg[/url][/QUOTE] A link to your avatar..yep, real helpful! :D try this instead: [URL="http://www.knowdotnet.com/articles/printform.html"]http://www.knowdotnet.com/articles/printform.html[/URL] | |
Re: The code you post has no handler for the SelectedIndexChange event of your drop down control, instead you have a button click handler. So to cause the List box to be rebound, in your programs current state, you need to make a selection in the drop down and then click … | |
Re: Blackred is right. [code] dbConn = New SqlConnection( "Server=localhost;uid=selfmadeBrowser;pwd=bpass;database=cacdb" ) [/code] Here you are using ADO and Microsoft Sql server specific objects you can't use these classes to connect to MySql [code] Dim myConnection As New OdbcConnection(ConnectionString) [/code] here where it is working you are using ODBC instead of ADO … | |
Re: You are right integer variables don't have decimal places, they are for whole numbers only. Use float double or decimal variables. | |
Re: the datagrid control has an OnItemDataBound event, it fires for each row as it is bound to the grid. Create an event handler for this event, in the handler get a reference to the textbox control and add the attribute. [code=csharp] private void myDataGrid_ItemDataBound(object sender, DataGridItemEventArgs e) { if(e.Item.ItemType == … | |
Re: Send your dates in ISO format yyyymmdd I think javascript can handle that format. | |
Re: Are you concatenating the domain name into the body of the email ? I can't be sure from your wording. If you know the email is leaving your SMTP in tact then it may be certain clients firewalls/proxy server policy trimming oversize emails I know from my own experience with … | |
Re: This will return "d:\sample" [code] System.IO.Path.GetDirectoryName("d:\sample\dest.txt") [/code] [URL="http://msdn2.microsoft.com/en-us/library/system.io.path.getdirectoryname.aspx"]http://msdn2.microsoft.com/en-us/library/system.io.path.getdirectoryname.aspx[/URL] | |
Re: Here's a clue, put some of you're own code around it. Post it and we help you get it right. But you have to code first, even if it doesn't work. [code=vbnet] Dim famouseNames(,) As String = {{John,Wayne},{Delia,Smith},{Florence,Nightingale}} [/code] Ooops excuse me you did posta link to code I forgot. | |
Re: In Sql Server Management studio expand databases on the left, expand the database that contains your tables, right click on Database diagrams and choose 'New database diagram', you may at this point receive a message saying you don't have all the support objects required, click ok to have them created. … | |
Re: There is nothing to debate. A router (r-out-er) routs but a router (r-oo-ter) routes For goodness sake it's simple. | |
Re: What is the error you are getting exactly please? try this: [code=vbnet] Imports System.Web.Mail PublicClass Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click SmtpMail.Send("someone@microsoft.com", "jesse@contoso.com", "Subject line", "Message text.") End Sub EndClass [/code] Note the changed Imports statement and the capitalised SmtpMail object. | |
Re: [QUOTE]Please give me a good example of when it would be necessary / important / make a difference to know whether a post was made five days, 8 hours, and 15 minutes ago or whether it was made five days, 6 hours, and 20 minutes ago upon coming across the … | |
Re: This [inlinecode]pathList(s)[/inlinecode] is evaluated before the ExtractZip method, pathList is an array and requires an integer argument in the parenthesis representing the index number, but string s is being passed instead. | |
![]() | Re: try DISTINCT eg: select distinct * from table1 join table2 on blah... |
Re: You can be a consultant at many levels from helping clients find off the shelf solutions up to enterprise architecture solutions. You can go into support, supporting software or hardware or telecomms and infrastructure. You can go into Network Administration or Desktop Support. You can be a technical writer online … | |
Re: I don't think a trigger is what you want here, consider a user-defined function instead: [code] create function getNote (@score int) returns nvarchar(4) as begin declare @note nvarchar(4) if @score between 0 and 50 set @note = 'Half' else set @note = 'Full' return @note end [/code] and the test … | |
Re: the C# compiler requires a class have a constructor, you don't *have* to use it or even type one if you don't need it. The C# compiler will add a blank constructor with no parameters at compile time if you don't type any constructor. Constructors are good for initialising classes … | |
Re: try adding <param name="wmode" value="transparent"> into this section: [code] <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="200" title="intro"> <param name="movie" value="Flash/intro.swf"> <param name="quality" value="high"> <embed src="Flash/intro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="200" ></embed> </object> [/code] | |
Re: The easiest way is to sign up for a SMS webservice [URL="http://www.esendex.com/uk/products-sms-sdk-net-sms-sdk.aspx"]http://www.esendex.com/uk/products-sms-sdk-net-sms-sdk.aspx[/URL] If you fancy getting into AT commands you can get yourself some USB or SERIAL connected hardware commonly referred to as GSM modules, join a network, stick the SIM card in it and... | |
Re: earningsResultLabel.Text holds an empty string which Val cannot convert into an integer ? | |
Re: You could get a wireless print server. [URL="http://www.store.demon.net/products/linksys-wireless/print-servers/"]http://www.store.demon.net/products/linksys-wireless/print-servers/[/URL] | |
Re: Consider using a ListBox web control. 1. You supply the options for the user to choose rather than free type (free text is always a validation headache for you to keep sh** out of your db) 2. ListBox has a multiselect mode (user can use shift or ctrl key to … | |
Re: How are you trying to connect? I beleive there is a windows ODBC driver for MySql available from MySql, once installed you can use an ODBC connection string, and Odbc connection command objects blah. [URL="http://dev.mysql.com/downloads/connector/odbc/5.0.html"]http://dev.mysql.com/downloads/connector/odbc/5.0.html[/URL] | |
Re: Sounds to me like the network card drivers don't like powersave mode or hibernation (depending what your power options are set at in control panel) try tinkering with those, or look for an upgraded driver on the nic's manufacturers website there maybe one with a fix for this type of … | |
Re: Start -> run type 'cmd' (without the quotes) press enter at the prompt type 'osql -S(local) -E' (without the quotes) and press enter. (if you have SQL Express edition type 'osql -SComputername\SQLEXPRESS -E') The -E switch is for a trusted connection using windows authentication, otherwise use -U<username> -P<password> to use … | |
Re: Do the aggregation in a subquery, then join on to the answer table from there to pull the description (Sql Datatypes text ntext and image can't be used in GROUP BY clauses) [CODE] select oa.AnswerDescription, srCount from ( SELECT sr.ResponseAnswerID, count(sr.RespondantID) as srCount from SURVEY_RESPONSE sr INNER JOIN ANSWER a … | |
Re: You need to use javascript, any .NET component would do it by emitting javascript anyway. Here is a little hoverover javascript I made, feel free to use it directly or maybe it will help you to make your own. | |
Re: [QUOTE]Anyone know how to keep tabs in code blocks for legibility?[/QUOTE] type the code tags in capital letters. | |
Re: [the value of UK]/ [sum of the values of UK and outside UK] * 100 | |
Re: Already posted mine here: [URL="http://www.daniweb.com/techtalkforums/thread7712-2.html"]http://www.daniweb.com/techtalkforums/thread7712-2.html[/URL] But it's changed since then here's latest: ![]() | |
Re: Are you calling FillDropDown() in the Page_Load event handler? if so does it look like this: [CODE] if(!IsPostBack) { FillDropDown(); } [/CODE] | |
Re: What is this world coming too??? as a father of two I am absolutely flabergasted! My children take a packed lunch and that costs far less than £3.50 per day, and I certainly wouldn't give up work no matter how many members of my family passed on I owe it … | |
Re: How was your datagrid boiund? in the Page_Load? if so is it inside an if(!IsPostBack) statement block? if it isn't it will be rebound (everything reset to previous values) on postback BEFORE the click event fires. | |
Re: I'm not sure this [INLINECODE]document.forms[0].elements[/INLINECODE] gets all the nested child elements and the checkboxes will be nested down in table/tr/td dom elements. try [INLINECODE]var elements = document.getElementsByTagName("input");[/INLINECODE] and iterate that instead. | |
Re: Security reasons means this is not possible. Consider putting your client information in a cookie. Your only other option is an activeX control or other program that the user can allow to be installed locally and therefore will be able to access the harddrive and get the file you want. | |
Re: If you post some code we can help, hard to know what your issue is. Typically most people get stuck with dynamically created controls because they don't understand the page life cycle in ASP.NET. Are you using individual RadiButtons or a RadioButtonList server control or HTML input radio buttons? are … | |
Re: unfortunately developers don't invest in technology, business does and business is interested in return on investment. Don't be fooled by open source it's no different, open source is an attempt by business to commoditize software, so it can sell more hardware not satisfy selfless moral ethics. Developers tend to be … | |
Re: Firstly I would have to ask why? Generally the only need to create tables on the fly are for imports of XML or spreadsheet data, or assembling distributed data for report output . Stuff like that, in which case I would call a stored procedure from VB using the usual … | |
Re: ASP.NET requires the .NET framework to run it, Xp ships with the framework and windows 2k will have got from an updare or service pack. You can get the redistributable framework and install it on windows98. ALL .NET software requires the framework to run, just like JAVA needs a JVM … | |
Re: offsetWidth is not supported in all browsers [CODE] var x,y; var test1 = document.body.scrollHeight; var test2 = document.body.offsetHeight if (test1 > test2) // all but Explorer Mac { x = document.body.scrollWidth; y = document.body.scrollHeight; } else // Explorer Mac; //would also work in Explorer 6 Strict, Mozilla and Safari { … | |
Re: Hey this is me... {hushed whispers..but I thought he was a she!) | |
Re: Dexters Laboratory (obviously from my avatar) "At laaast my lab is working at 100% efficiency!!" | |
![]() | Re: No-one has mentioned diet? Oily fish and frsh fruit and veg, regular meals and sleep pattern give your body the ability to concentrate and absorb information for longer periods. Self motivation, make study time a routine, x hours on x days whatever, the key is to stick to it, a … |
Re: [QUOTE]I like binary numbers, but that wasn't an option...[/QUOTE] What's different about binary numbers? numbers are numbers. binary is just a representation, binary numbers can be odd/even/random/zero/all/unlikeable just as much as decimal ones or octal or hexadecimal etc.. blah... | |
Re: Currently live in Ipswich, county town of Suffolk in the UK, been here about two months, before that lived in Essex. I am half Spanish (fathers' side) and half english. My grandparents were evacuees from the Spanish civil war to England. Hey Sulley's Boo my Uncle lives and works near … | |
Re: Also build it in release mode, or if using framework 2 create a deployment project. This way the dll is built without all the debugging symbols and is smaller and executes faster. | |
Re: 1. Look up INFORMATION.SCHEMA in the Sql Server manual (known as books online) Assuming your database is Sql server, that will help you get a dataset of columns. 2. Use the dataset of columns as the DataSource of a ListBox WebControl, set MultiSelect property to true. 3. Concatenatet the users … | |
Re: [CODE] <a Href = "abc.aspx?item=1"> Item 1 <a> <a Href = "abc.aspx?item=2"> Item 2 <a> [/CODE] [CODE] private void Page_Load(object sender, System.EventArgs e) { Button1.Visible = false; Button2.Visible = false; string item = Request.QueryString["item"]; if(item == "1") Button1.Visible = true; if(item == "2") Button2.Visible = true; ] [/CODE] | |
Re: You set up forms authentication in the Web.Config and allow only certain authenticated users access to the admin page. Then anyone trying to access the admin.aspx directly in the adress bar will be automatically redirected to the elected login page. here's a link: [URL="http://www.15seconds.com/issue/020220.htm"]http://www.15seconds.com/issue/020220.htm[/URL] This one looks better: [URL="http://www.ondotnet.com/pub/a/dotnet/2003/01/06/formsauthp1.html?page=last"]http://www.ondotnet.com/pub/a/dotnet/2003/01/06/formsauthp1.html?page=last[/URL] |
The End.