271 Posted Topics

Member Avatar for zaher
Member Avatar for pcfresh
0
147
Member Avatar for gruebz

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 …

Member Avatar for timothybard
0
111
Member Avatar for zaher
Member Avatar for Dizzzy

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.

Member Avatar for jbisono
0
219
Member Avatar for davecoventry

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? …

Member Avatar for jbisono
0
118
Member Avatar for wowblueberry

In the first select statement, into the where clause after names.contact_id you have a "," that is wrong.

Member Avatar for jbisono
0
69
Member Avatar for chathuD

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 …

Member Avatar for chathuD
0
413
Member Avatar for mthobisil

Im not quite sure what is your problem, but did you try [ICODE]Response.Redirect(String URL);[/ICODE]

Member Avatar for mthobisil
0
220
Member Avatar for Yellowdog428

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.

Member Avatar for kvprajapati
0
109
Member Avatar for mundetas

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 …

Member Avatar for jbisono
0
112
Member Avatar for Piya27

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.

Member Avatar for Piya27
0
80
Member Avatar for elidotnet

after you open the connection you should say this [code=csharp]objCmd.ExecuteNonQuery();[/code] regards.

Member Avatar for elidotnet
0
136
Member Avatar for pt0909

try use this [ICODE]dropdown.SelectedItem.Value[/ICODE] to retrieve the values from the drop down box. regards.

Member Avatar for pt0909
0
141
Member Avatar for babbu

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.

Member Avatar for kvprajapati
0
523
Member Avatar for pardeep3dec

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 …

Member Avatar for eloelo22
0
130
Member Avatar for Democles
Member Avatar for Vivek_1986

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]

Member Avatar for dataobjx
0
103
Member Avatar for ansari.wajid
Member Avatar for sriyanova

[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.

Member Avatar for jbisono
0
68
Member Avatar for mathmath

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]

Member Avatar for jbisono
0
164
Member Avatar for lolwtf

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) …

Member Avatar for lolwtf
0
260
Member Avatar for suresh bangaru

Hi, What do you have so far? what is the part that you do not understand how to do it?. regards.

Member Avatar for owofeminew
0
121
Member Avatar for Kusno

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 = …

Member Avatar for jbisono
0
2K
Member Avatar for thewebhostingdi
Member Avatar for phpdude89

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.

Member Avatar for jbisono
0
144
Member Avatar for plastered
Member Avatar for xpartmgr

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 …

Member Avatar for Ezzaral
0
111
Member Avatar for Mandler

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.

Member Avatar for Mandler
0
159
Member Avatar for thilinam

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"] …

Member Avatar for jbisono
0
112
Member Avatar for monurenjith

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.

Member Avatar for Tassilo
0
97
Member Avatar for kerek2

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 …

Member Avatar for kerek2
0
389
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
118
Member Avatar for gauravsolified
Member Avatar for jbisono
0
102
Member Avatar for jbisono

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?

Member Avatar for jbisono
0
178
Member Avatar for jcoacro

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 …

Member Avatar for jbisono
0
324
Member Avatar for Tumbleweedracef

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]

Member Avatar for Tumbleweedracef
0
106
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
214
Member Avatar for jbisono

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 …

-2
97
Member Avatar for jared717

Try to repost your select statement between tags because I cannot even seen it.

Member Avatar for pty
0
195
Member Avatar for rime

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

Member Avatar for navi17
0
113
Member Avatar for dot_net_rookie

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 …

Member Avatar for dot_net_rookie
0
161
Member Avatar for jbisono

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 …

Member Avatar for jbisono
0
470
Member Avatar for manojjena1982

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.

Member Avatar for mail2saion
0
79
Member Avatar for omotoyosi

Well, if you said it was working, the first thing i can think is check the path, is something change? Regards.

Member Avatar for Teme64
0
76
Member Avatar for havejeet

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; …

Member Avatar for ddanbe
0
165
Member Avatar for Eliza123

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 …

Member Avatar for Eliza123
0
915
Member Avatar for edogg23

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 …

Member Avatar for jbisono
0
110
Member Avatar for psych8888

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 …

Member Avatar for psych8888
0
101
Member Avatar for Rezzinik

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.

Member Avatar for jbisono
0
119
Member Avatar for genieuk

Hi, I do not see the problem with this [ICODE]<textarea rows="10" cols="50"> </textarea>[/ICODE] regards.

Member Avatar for MidiMagic
0
133

The End.