516 Posted Topics

Member Avatar for Jake.20

Ckeck the i value when ur deleting. i think it will be allways zero. as u have declared dim i as integer but never assigned the value to it. Problably if u remove first item it is working.

Member Avatar for vikramrandhawa
0
243
Member Avatar for kylelendo

If i have understood your query properly then ur talking about the intelisence in Visual studio. Everything is object of class.. for example textbox is a class and it is having methods,functions, properties etc... So when Microsoftt release new framework or updates. it adds the new behaviour to these classes …

Member Avatar for Hani1991
0
190
Member Avatar for uva1102

Is ID column is primary key or do you have constraint? Is the ID column is set to autoincrement?

Member Avatar for BitBlt
0
107
Member Avatar for iisniperz
Member Avatar for ismpk
Member Avatar for Pgmer
0
35
Member Avatar for zebnoon
Member Avatar for ChrisHunter
0
154
Member Avatar for ijsrog
Member Avatar for adam_k
0
133
Member Avatar for divyakrishnan
Member Avatar for bhagawatshinde

you can't show messegebox in asp.net. you can do that in javascript using Alertbox.

Member Avatar for prit005
-1
125
Member Avatar for TIP.Synergy
Member Avatar for anuj6928
0
148
Member Avatar for dwinn

Loop through data reader and get the items you want to assign to list box else get the result into dataset and then assign the dataset as datasource to ur listbox.

Member Avatar for Pgmer
0
436
Member Avatar for dwinn

Ur application does only search? or any other pages are there? If only Search page you can write the code in that page. if u have mupltiple pages probably u need to go for 3 layer architecute.

Member Avatar for dwinn
0
220
Member Avatar for Fransh

Are you giving any button upon clicking u want to calculate? or on fly u want to?

Member Avatar for adam_k
0
140
Member Avatar for dwinn
Member Avatar for divyakrishnan
Member Avatar for jemz

Hi Jemz.. No Need of combbox. for a text box there is a property called autocompleteSoruce you get all the text which u want to show in textbox when user enters a text from ur databse and bind it. and set the proprty autocompletemode of text box, APPEND,SUGGEST.. whatever u …

Member Avatar for WaltP
0
255
Member Avatar for sherinpoulose
Member Avatar for Pgmer

Hi All, I have column which consist of data like AB1 AB2 AC3 AD5 AB1 AB2 When i do order by this coulumn, its not ordering properly. It should order like AB1 AB1 AB2 AB2 AC3 AD5 Thanks

Member Avatar for debasisdas
0
109
Member Avatar for aimboter89

you need to pass the index of array element to remove. and in loop if u do it u will get error saying index out side the bounds of array, as element is deleted.

Member Avatar for sandeepparekh9
0
329
Member Avatar for kipslem

What is the field in database? and Call_Date is datetime datatye? it should be datetime. and instead of passing it as parameter u can use system.datetime.now.

Member Avatar for Pgmer
0
331
Member Avatar for Netcode

Before running the execute query statement, take the select statement and try to run in DB so u will come to know where and what is missing...

Member Avatar for Netcode
0
148
Member Avatar for PinoyDev

[CODE] Dim resultdate As Long resultdate = DateDiff(DateInterval.Year, date2, date1)[/CODE] Try this...

Member Avatar for PinoyDev
0
108
Member Avatar for suvisoya
Member Avatar for Netcode

[CODE]TextBox1.Text = DropdownListBox1.Selectedtext.ToString[/CODE] or [CODE]TextBox1.Text = DropdownListBox1.Text.ToString[/CODE] try these two..

Member Avatar for Pgmer
-1
105
Member Avatar for SeriousBug

right click on a file and use "open with..." to open it with my program. How can I do it? For this you need to install your application in the system. then you could see your application in the selection list.

Member Avatar for Pgmer
0
58
Member Avatar for ryan311

Hi, This is the code given by [B]debasis[/B] das in this forum for some one. See if this can help you.. [CODE] Public Function NumToWord(ByVal numstr As Object) As String Dim newstr As String Dim tempstr As String = "" numstr = CDec(numstr) If numstr = 0 Then NumToWord = …

Member Avatar for kvprajapati
0
188
Member Avatar for saj_amo
Member Avatar for chriswelborn
0
933
Member Avatar for Pgmer

Hi All, Can anyone throw idea to make the form as Resolution Independent? Thanks..

Member Avatar for sandeepparekh9
0
149
Member Avatar for bettybarnes
Member Avatar for kitjo

Could you please explain in detail? What you mean by not fecthing data from server? Any error?

Member Avatar for Pgmer
0
164
Member Avatar for aymenbnr

Ur playing with grid without binding any records to it.:) u myt be getting error if im right. first bind records before u start playing with grid...

Member Avatar for msrd
0
430
Member Avatar for sourabhacooli

Ur talking about two things here, Writing insert,update,delete query in class and stored procedure. both are differnt. you mean to say writing seperate class for handling database transactions?

Member Avatar for debasisdas
0
84
Member Avatar for samythehunk

If you publish your application also code can be viewed using reflector. So you need to Obfuscation of code.. Look into this link for more info [URL="http://www.dotnetspider.com/resources/664-What-Obfuscation.aspx"]http://www.dotnetspider.com/resources/664-What-Obfuscation.aspx[/URL]

Member Avatar for Pgmer
0
122
Member Avatar for tipaklong
Member Avatar for NETProgrammer
0
491
Member Avatar for mohannad2004r

Write property in your class which sets or gets the Connection string. which should be public. and create the instance of this class in the form where you want to set the connection string from textbox and access the proprty and set it. Exapmle.. [CODE] Dim M_connstring as string Public …

Member Avatar for Luc001
0
172
Member Avatar for sourabhacooli

Try using Ajax update panel.. Only the controls which all are in ajax panel will get refreshed rather the complete page..

Member Avatar for stbuchok
0
100
Member Avatar for ladydivine
Member Avatar for Jx_Man
0
401
Member Avatar for denmarkstan

Get the input from the user, If your using SQL server u can use fulltext index serach functionality. It will serch in table u mentioned for the words u pass and gives the result set.

Member Avatar for Pgmer
0
196
Member Avatar for blackcorona
Member Avatar for xanawa

Drag and drop the gridview on ur page. it will write some code in the designer. read that code, and next time u write the code dont drag.:) Assign the dataset to gridview as source wherever u want to.

Member Avatar for KenPeterson
0
109
Member Avatar for BleepyE

Are your files are in debug folders when you build ur application? in debug mode can u check?

Member Avatar for BleepyE
0
208
Member Avatar for ryan311

Use output parameters.. like declare @result int @result output. In ADO.net method also u need to have one variable of same data type. and u have to use parameter.direcection method.

Member Avatar for Pgmer
0
266
Member Avatar for come_again

[CODE] If System.IO.File.Exists("Your file path") = True Then ' File exist do what you want Else Messagebox.show("File does not exists") End If [/CODE] The above code is vb.net syntax to check the file exist or not in specific location. may be simillar function may exist in vb6 also.

Member Avatar for Pgmer
0
177
Member Avatar for gingank
Member Avatar for Pgmer

Hi All, [CODE] SELECT 'Name A ' as Column0, Some column as Column2, FROM MyTable WHERE my condition UNION SELECT 'Name B' as Column0, Some other column as Column2, FROM MyTable WHERE my condition [/CODE] I want to concatenate the rowNumber with column0 any idea how to do that? Thanks …

Member Avatar for Pgmer
0
77
Member Avatar for shuhana84

you mean u want to verify the row already exist or not in SQL? IF not exist u want insert if exist dont insert?

Member Avatar for Pgmer
0
159
Member Avatar for ryan311

[CODE] Dim userString as string dim ActualString as string="123abc" userString =textbox1.text If userstring=actualstring then messagebox.show("String Found") Else messagebox.show("String not Found") End IF [/CODE]

Member Avatar for Mariandi
0
333
Member Avatar for Shodow
Member Avatar for Pgmer

Hi All, I have two dimentional array, i want to filter the records in array is there any way to do it?

Member Avatar for Pgmer
0
132
Member Avatar for dougancil

The End.