271 Posted Topics
Re: When you try to browse internet from xp, what is the exact error if there is one?. | |
Re: First if you do not want high cost, To install a server for MSQL SERVER 2005, I will cut that off right away. CakePhp I cannot say too much about that i have not tried. anyway for me, the best two options you have is Number 2 and 4, both … | |
Re: at the end put DataGrid.DataBind() also is your datagrid allow to generate the columns automatically, if not i would like to see the datagrid structure and the exact field you are retrieving from the calendar table Regards. | |
Re: I do not see any benefit creating another table, First you are retrieving a specific value without any join or combined statement. In the other hand you right if you retrieve smaller record you have better efficiency, but the question is, is it worth the difference between the retrieving time? … | |
Re: In the first select statement, into the where clause after names.contact_id you have a "," that is wrong. | |
Re: First you do not need to retrieve the username because is given as parameter. base on what you said. Under the button search click event you will have a code like this. [CODE=CSHARP]SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;Initial Catalog=ex;Integrated Security=True;Pooling=False"); /*This only work if you are going to retrieve just … | |
Re: Im not quite sure what is your problem, but did you try [ICODE]Response.Redirect(String URL);[/ICODE] | |
Re: hi, what you need is just this [CODE=CSHARP] this.drpDMSType.Items.FindByText((string)tblDMS.Rows[0]["dms_type_alias"]).Selected = true;[/CODE] take care. | |
Re: Ok, first i imagine you have a dropdownlist to display all genres in the new movie entry form. is that is the case you will have a select statment like. [ICODE]select GenreID, GenreName from Genre[/ICODE] then fill a dataset with that result, lets say the dataset is called dsGenres so … | |
Re: Let's say you have a variable temp [CODE=VBNET]Dim temp As String = "05/02/2005" Dim ar() As String = temp.Split("/") TextBox1.Text = ar(0)[/CODE] The result of ar(0) is 05 i hope that help you. | |
Re: after you open the connection you should say this [code=csharp]objCmd.ExecuteNonQuery();[/code] regards. | |
Re: try use this [ICODE]dropdown.SelectedItem.Value[/ICODE] to retrieve the values from the drop down box. regards. | |
Re: First of all to retrieve the ID, I would not use DataReader but this [CODE]id = Convert.ToInt32(oledbcom.ExecuteScalar())[/CODE] and for the rest of the code, make sure your connection is open. | |
Re: You can go to this link for more reference. [URL="http://www.connectionstrings.com/"]http://www.connectionstrings.com/[/URL] [URL="http://www.daniweb.com/forums/thread272.html"]http://www.daniweb.com/forums/thread272.html[/URL] In a nut shell you need this [ICODE]Dim cn As OleDbConnection cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;_ Data Source=Path to your database;")[/ICODE] path to your database could be the computer that has the share database. be sure to give the correct … | |
Re: Can you show more code, beacuse I do not see the connection object something like this [QUOTE]Dim conn as New System.Data.SqlClient.SqlConnection(ConnectionString)[/QUOTE] and then [QUOTE]conn.open()[/QUOTE] | |
| |
Re: [code=HTML] <html> <body> <form action="mailto:your@mail.com" method="post" enctype="text/plain" > FirstName:<input type="text" name="FirstName"> Email:<input type="text" name="Email"> <input type="submit" name="submit" value="Submit"> </form> </body> </html>[/code] maybe something like that can help you. | |
Re: Hi, i once have that problem and i use this function and it work for me. [URL="http://geekswithblogs.net/AngelEyes/archive/2007/04/12/111504.aspx"]http://geekswithblogs.net/AngelEyes/archive/2007/04/12/111504.aspx[/URL] | |
Re: Ok once you have a connection set up, the easiest way to go is using a dataset you can basically do this. i did not test this. [code=vb] Dim statement As String = "SELECT EmployeeId, FName FROM tblEmployee" Dim adapt As New SqlDataAdapter(statement,connection) Dim ds As New DataSet() connection.Open() adapt.Fill(ds) … | |
Re: Hi, What do you have so far? what is the part that you do not understand how to do it?. regards. | |
Re: Well partner in c# i will do this, probably you can translate this to vb. [ICODE]System.Text.StringBuilder sbScript = new System.Text.StringBuilder(""); sbScript.Append("<script language='javascript'>"); sbScript.Append("var w=0, h=0;"); sbScript.Append("if(document.all || document.layers)"); sbScript.Append("{"); sbScript.Append("w=screen.availWidth;"); sbScript.Append("h=screen.availHeight;"); sbScript.Append("}"); sbScript.Append("var popW = 900,"); sbScript.Append("popH = 500;"); sbScript.Append("var leftc = ( w - popW) / 2,"); sbScript.Append("topc = … | |
Re: U can use winrar for that. regards. | |
Re: try this. [ICODE]SELECT DISTINCT countries.Country_Code, Country_Name FROM countries, allow WHERE countries.Country_Code != allow.Country_Code ORDER BY Country_Name[/ICODE] Regards. | |
Re: Try to rename the application and try to update. regards. | |
Re: Well first of all you have a very nice understanding about db, in fact primary key in other words means, that specific piece of data that contain partnumberid cannot be repeated for the all history of that table. As you said foreign key make reference, to another table in order … | |
Re: Try that [ICODE]SELECT Profiles.answer, users.gender, COUNT(Profiles.answer) AS count FROM Profiles INNER JOIN users ON users.userid = Profiles.userid GROUP BY users.gender, Profiles.answer[/ICODE] Regards. | |
Re: maybe this can help you lets say you want the subtract from two dates and then get the days. [QUOTE]DateTime dt = some date TimeSpan ts = DateTime.Now - some date; ts.Days // return the days [/QUOTE] well any way you can find a lot information here [URL="http://msdn.microsoft.com/en-us/library/system.datetime_methods(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/system.datetime_methods(VS.71).aspx [/URL] [URL="http://msdn.microsoft.com/en-us/library/system.timespan_methods.aspx"] … | |
Re: Hi, I just take a quick view to your code and I notice that your select statement have a " , " extra SELECT memberpersonal.name,memberpersonal.memberid[B], [/B]FROM I make it bold, Take it out. regards. | |
Re: Hi, you should open the connection cn.Open() and then cn.Close() also you have a problem and the insert statement you are calling label1.text as lable1.text. besides that check your table and see what is the minimum parameters that you need to insert. also i will create another connection call it … | |
Hi, everyone this is my issue I have to read a binary record from the database and concatenate another string to it, the thing is that is just working one way, I ll put some code to explain better. [ICODE] buffer = rdGetBinary.GetInt32(3);//this is the length of the actual row … | |
Re: no, but you will need to reinstall the windows updates. regards. | |
Hi, Can I make a repair windows with any windows xp cd? in my case i want to repair a machine that is running windows xp media center but i have a windows xp professional is there any issue with that? | |
Re: well due, I think you should break down a little bit your problem. first of all I will get a piece of paper and draw the easy steps, for example. draw the 3 floors with the capacity of each room, then try to accommodate every computer and each room base … | |
Re: when you got the black screen did you try to press ctrl+alt+del and see what happen. if did go to windows task manager then file -> New Task (Run...) and type C:\WINDOWS\explorer.exe and click ok if that work check this thread [URL="http://www.daniweb.com/forums/showthread.php?t=39613&highlight=explorer.exe+not+starting"]http://www.daniweb.com/forums/showthread.php?t=39613&highlight=explorer.exe+not+starting[/URL] | |
Ok I have seen to many post about this and nothing work for me, I just do not get it. I have a simple datagrid which i want to add rows, NOTE: this datagrid have no relation with database so everything has to be done datatable or arraylist whatever you … | |
Hi forgive if i am posting in the wrong forum, my issue is this, i want to be able to stream audio over http from my computer lets say play what im listen in windows media player or winamp or any player. I wonder if there is any script to … | |
Re: is your site online? post your link. Check out new modules that you have added recently, try to disable the new ones and see what happen. regards | |
Re: Make sure your dropdownlist does not have duplicate values, for example if you result set when you bind the sub category dropdownlist have a duplicate value, when postback is going to go back to first position because your value must be unique, verify that first and then tell us, what … | |
Hi, Guys. I have a issue reading a word document, well i can actually read the document but i need some how split some data into array, now the data that i want to split is into a table in word, is there an easy way to split that data … | |
Re: Hi, [code=sql]SELECT A.AID, B.BID, A.ANAME, B.BDESC FROM A INNER JOIN B ON A.AID = B.AID[/code] Hope that help regards. | |
Re: Well, if you said it was working, the first thing i can think is check the path, is something change? Regards. | |
Re: First step is to split the string into an array. [ICODE]string MyString = "Games,Tvs,Shows"; string[] MyArray = new string[3]; MyArray = MyString.Split(','); CheckBoxList1.DataSource = MyArray; CheckBoxList1.DataBind();[/ICODE] and the second question I do not really understand but this is what i think. [ICODE]private string GetIndex(string descr) { int i = 0; … | |
Re: Ok, how are you passing the result set to the datagridview? threw a DataReader or DataSet, their both have a method that return if there is data. DataReader.HasRows(), return true is the reader has any data. DataSet.Tables(0).Rows.Count Return how many rows were retrieve by the statement as integer. hope that … | |
Re: well If you know how to make a connection with the database which i think you do, because you are getting data from the db. to insert a new record is much easier. lets say that we have a table like this [U]Person[/U] Name LastName Address [ICODE]Dim insertStatement As String … | |
Re: well if you cannot get into windows at all, try booting in safe mode, Press F8 at the beginning and select Safe Mode, If you can start your machine thru that, is there any recently software or driver update that you have installed, uninstall it, also run antivirus scan, do … | |
Re: If you have more than one memory ram stick in your motherboard, try test one by one swaping the ram, at least if it is a ram related issue then you know what to do. Regards. | |
Re: Hi, I do not see the problem with this [ICODE]<textarea rows="10" cols="50"> </textarea>[/ICODE] regards. |
The End.