516 Posted Topics

Member Avatar for george8

before rep.SetDataSource(d) have only those rows for which value is not 0. If your using any database you can do it in query or else you can remove the rows using dataview.rowfilter option.

Member Avatar for george8
0
128
Member Avatar for tendaimare

Best way is to do it at the backend using Cursors. If you want to delete from front end only then you can give this approach *(Assuming you have primary key in your table to indentify unique row.)* Get all the keys into array, and loopthrough them and call the …

Member Avatar for Pgmer
0
1K
Member Avatar for pipelian

loop through the datagridview to check weahter checkbox is checked and have the inner loop for listview and make the listview cell empty.

Member Avatar for M.Waqas Aslam
0
545
Member Avatar for Ao.No.Enjeru

Then use the search condition in dataview using dataview.rowfilter method and bind the dataview back to grid.

Member Avatar for Ao.No.Enjeru
0
161
Member Avatar for kenth21v

U need to add the required component for crystal reports at client system. So u needs to include them in prerequisites in ur project and why you want to install the SQL at client end? it should be server and ur client should point to server.

Member Avatar for kenth21v
0
251
Member Avatar for themaj

You need to install framework in client system in which you developed ur application. You can even change the target framework in project proerty

Member Avatar for M.Waqas Aslam
0
314
Member Avatar for reds8

your aspx can open in browser. Open project in IDE in which you developed in your professor system and right click on aspx you want to view, then you could see browser option.

Member Avatar for hericles
0
429
Member Avatar for ayat abukhadra
Member Avatar for rhm532005

Which database are you using? What is the table you want to update? Be specific.

Member Avatar for M.Waqas Aslam
0
97
Member Avatar for ashuag

INSERT INTO Cust_Details(Cust_ID, CustName, Gender, Age, Phone, CustAddress) Values "(" & custid & ", " & custname & "," & gender & "," & age & "," & phno & "," & custadd & ")" Try this.

Member Avatar for Reverend Jim
0
119
Member Avatar for situ.pati

Show your code.. You checked the DB when you close the application? Once saved in Db will not delete automatically Either your deleting in your code or you are not loading it back.

Member Avatar for G_Waddell
0
211
Member Avatar for number361
Member Avatar for raficomps

If this Question is regarding sessions in ASP.Net Then it should be moved to ASP.net forum where experts can help you.... I suggest you to read on Session veriables, cookies, and Querystring in asp.net

Member Avatar for Pgmer
0
201
Member Avatar for Denden17

Making the form independent of resolution is difficult. That is why MS has brought in WPF. You can try using Layouts in form design.. Let us know if you get any sollution :)

Member Avatar for Denden17
0
242
Member Avatar for guilherme.carvalho.9250
Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for M.Waqas Aslam
Member Avatar for M.Waqas Aslam
0
190
Member Avatar for megdan
Member Avatar for ziyaddinsadigov

Using split function with delimiter as vbSpace get the contenets into array load the first item of array into New array list or use wherever u want to..

Member Avatar for Pride
0
2K
Member Avatar for ayat abukhadra
Member Avatar for ayat abukhadra
0
131
Member Avatar for reds8
Member Avatar for Pgmer
0
99
Member Avatar for prancode

Why cant u try like this Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown If e.KeyCode = Keys.F3 Then MessageBox.Show(e.KeyCode.ToString) Else MessageBox.Show(Keys.KeyCode.ToString) End If End Sub

Member Avatar for Pgmer
0
293
Member Avatar for Angelic777

It will take the resource as number of files increses everytime. You should find some mechanisim to freeup the resource like using the background worker or threading. What if the file count reaches lacks?.. Cant u take out the old files after comparing to backup folder?

Member Avatar for Pgmer
0
110
Member Avatar for ravi.kant.984349

Select Distinct top 10 [Batch No], [Item Name],Decentralization, UOM, Balance from Decentralization order by Serial desc Distinct should come first before top 10...

Member Avatar for Pgmer
0
117
Member Avatar for fordna1
Member Avatar for santhini
Member Avatar for hericles
0
441
Member Avatar for HibaPro

Try something like this DataGridView1.Rows(1).Cells(1).Value = "Testing" But you need to know in which row and which column you need to add value..

Member Avatar for HibaPro
0
153
Member Avatar for vincent5487

Try 'All ur code goes here Catch ex As Exception ' Cathc the error if any and show the user or log End Try

Member Avatar for vincent5487
0
175
Member Avatar for HibaPro

IsIdentity =true? And identity seed=1? Then if you have any records in table it will be not be -Ve

Member Avatar for Pgmer
0
96
Member Avatar for HibaPro
Member Avatar for tizzi09
Member Avatar for wenbnet

Add panel to form and cover the panel to form then add ur controls to panel and set dock property

Member Avatar for poojavb
1
481
Member Avatar for poojavb
Member Avatar for anil_bhavani199

Are you copieng your MDB database file in client system? Users do have enough permission on the folder where your application is pointing?

Member Avatar for uncompletable
0
544
Member Avatar for Pgmer

Hi all. im writing function to find and replace the string. Im using 2 textbox's one for keyword which is to find and one to to replace. im having having two buttons btnfindnext and btnreplace. if i click on replace button it should select the text first and agin if …

Member Avatar for shamy086
0
237
Member Avatar for sing1006
Member Avatar for Iamateur

Dear Iamateur Do you understand what the code is? What you mean by all the MDI form? application will have one MDI form. Not many... And the code above you wrote is for setting the child form to its parent as MDI form

Member Avatar for Pgmer
0
189
Member Avatar for paoi00
Member Avatar for saleem.mukhtiar

What you mean by making datagid as table? in UI or database table? please explain...

Member Avatar for saleem.mukhtiar
0
74
Member Avatar for jhedonghae
Member Avatar for jhedonghae
0
365
Member Avatar for darthswift00

And also use the finally bloack to close ur connection to database or to dispose any objects...

Member Avatar for darthswift00
0
176
Member Avatar for kampao00
Member Avatar for kampao00
0
147
Member Avatar for Pgmer

I am not able to reply to any thread... I am no longer member to daniweb?

Member Avatar for Dani
0
50
Member Avatar for Pgmer

Hi team, I am not able to see all the post in which i contributed in new version... :(

Member Avatar for Dani
0
71
Member Avatar for dilse4sk

@Poojavb why need to add textbox and assign book_id? Cant he bind the book_id to grid and make that coloumn visible false? and read that Id when user click on delete?

Member Avatar for M.Waqas Aslam
0
194
Member Avatar for tendaimare

your checking for [B]IF dTable.Rows.Count = 0 [/B] if count is 0 means there is no data in datatable... how will you get the value? I think it should be [B]IF NOT dTable.Rows.Count = 0 [/B]

Member Avatar for aksay
0
187
Member Avatar for timosoft

Make copylocal=true in property window for that folder and make sure when u build the app this dll should get copied to ur bin/Debug folder.

Member Avatar for timosoft
0
278
Member Avatar for poolet25
Member Avatar for poolet25
0
5K
Member Avatar for game4tress

Search in internet for FTP... u may get some idea.. U need to write broker service which will be running in ur server.

Member Avatar for ninjatalon
0
1K
Member Avatar for gozo12
Member Avatar for darthswift00

Please post your code you have so far. So will come to know your approach to show records.

Member Avatar for darthswift00
0
330

The End.