271 Posted Topics
Re: I think you can do that. [code]$Statement = "Select * from profile where age between " . $age_from . "and " . $age_to.";[/code] | |
Re: Hi, I do not really understand what is your goal with this code, first of all this line does not seem right to me. dim token as integer = 'something' but anyway i think what you want is this. [ICODE]Dim token As Integer = 3 Dim Array1(,) As Integer = … | |
Re: well i can tell you right now why. you are retreiving category and sub category and the same resultset and your data is show as example. Category Sub_Categor Network CCNA Network CCNP Programming C# Programming VB and when you pass that to the datalist is going to embed the data … | |
Re: hi, you need to set the MaintainScrollPositionOnPostBack in the aspx page [ICODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" [B]MaintainScrollPositionOnPostback="true"[/B] %>[/ICODE] That is in vs 2005. in vs2003 i think is [B]SmartNavigation="true"[/B] Regards | |
Re: I think the best way to go is ddambe's way, or doing everything in one spot. this is c#, vb is similiar. [ICODE]TextBox3.Text = Convert.ToString(Convert.ToDouble(TextBox1.Text) * Convert.ToDouble(TextBox2.Text));[/ICODE] | |
Re: you are doing good, after that save the content of the word document into a string variable in then read word by word the content. [ICODE]String ContentWord = ""; ContentWord = data.GetData(DataFormats.Text).ToString();[/ICODE] | |
![]() | Re: I believe there is some!!! but in my opinion the main one is performance. |
Re: I do not really understand your point. because if you want to edit something and that is why you have a edit button, the row you working with should become textbox in order to edit something. | |
Re: Why do you want to do that? anyway you can do this [ICODE]using System.Text.RegularExpressions; str=""; int no; Regex rxNums = new Regex(@"^\d+$"); // Any positive decimal if (rxNums.IsMatch(str)) { no = Convert.ToInt32(str); }[/ICODE] Regards. | |
Re: Hi, I do not know if this can help but try it replace dr(0) for dr.GetString(0) and dr.GetString(1). also try in the select retrieve exact the two fields that you want, i do not know what is the structure of your table. if that does not work try this [ICODE]Dim … | |
Re: Could be a lot of reasons but, ones i had that problem with mine computer and i fixed it with this tool [URL="http://windowsxp.mvps.org/peboot.htm"]http://windowsxp.mvps.org/peboot.htm[/URL], hope that help you Regards. | |
Hi, Im new here, im sorry if i am posting in a wrong forum, i have a piece of code that update a binary field in sql server 2000, im keeping this code a simple as possible, so this is working but only save the first character in the string … | |
Re: Hi, First, Have you tried to reset your router and your modem. Second, Try to enable security on your router so no one else and your neighborhood can get internet threw. Third, Check your speed connection and this site [URL="http://www.speedtest.net/"]http://www.speedtest.net/[/URL] Hope that helps. Regards. | |
Re: Hi try this [ICODE]string email = "Your@email.com"; MailMessage message = new MailMessage(); message.From = new MailAddress(email); message.To.Add("recipient@email.com"); message.Subject = "Subject"; message.Body = "Body"; SmtpClient emailClient = new SmtpClient("SmtpServer"); emailClient.Send(message);[/ICODE] note that SmtpServer could be a real Smtp Server or 127.0.0.1 or "LocalHost" hope that work | |
Re: Can you show the insert statement specially the way you are passing those values. Regards | |
Re: i do this to get the current computer maybe look for something like this. [ICODE] Dim IPAddress as String = Request.ServerVariables.Get("REMOTE_ADDR")[/ICODE] that is vb, c# is almost the same. | |
Re: Try this have worked for me couple of times Reboot on Safe Mode with network options. Delete your Malwarebyte shortcut from your desktop. Go to your program files C:\Program Files\Malwarebytes' Anti-Malware and change the name of mbam.exe to something else but not similar to others antivirus programs, and now try … | |
Re: I do not really understand your question, First you want to add student to the database, i think you have a little form with the personal information and what course from a list box. and then you want to search into the database base on the course selected is that … | |
Re: I did not test this, but I think you can use this DateTime dt; dt = Convert.ToDateTime("5/20/2008"); I am assuming your are in C#. VB is basically the same thing hope it works regards | |
Re: try this [code=sql]select ( select f.cycle as col1 from final as f for xml raw, elements, type).query('for $col1 in (row/col1) return concat($col1, " ")') [/code] I did not test this. Regards. | |
Re: well as far i know you cannot call the .swf from your css, the .swf file have to be embed right into the html file or aspx file. go to this link to know how to do that [URL="http://www.w3schools.com/flash/flash_inhtml.asp"]http://www.w3schools.com/flash/flash_inhtml.asp[/URL] lets say that your have a div tag in your html … |
The End.