|
I am using datagridview with 4 columns 10 rows
I want sum data in column 1 how can i do?
Thanks
................
|
|
|
|
|
I'd write a function to either a) sum that values in the dataset that the grid view is bound to or b) query the database directly.
|
|
|
|
|
I still don't understand can u give me through example?
Thanks
................
|
|
|
|
|
I have insert some record to datagrid, how can i save to file?
Thanks
................
|
|
|
|
|
|
Any files such as Excel, TExt file,.......
................
|
|
|
|
|
Hi
This is Parikshit...
I want to ask you question about encryption and decryption of a zip file.
I m trying to encrypt a zip file but it is not getting encrypted by using
Rijndael algorithm.
can anybody help me out by giving some sample examples.
using vb.net plz...
Thanx
|
|
|
|
|
Why don't you just password protect it ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi,
I am using cross-tabs report for reporting in crystal reports for .net 2005. When the width of the report exceeds the width of the page so it cuts off the rest of pages.
|
|
|
|
|
Have you tried resizing or restructuring the layout? I think that would be the first step.
|
|
|
|
|
hi all frends,
im using datagridview on my form (VB.net(winforns).
i am filling datagridview on formload.
i have clearAll button, so i want to clear all records of my datagridview whn user clicks on clear button.
Plz tell me how to code for it.
Thanks & Regards Priya.
priya
|
|
|
|
|
datagridview1.rows.count=0
|
|
|
|
|
The code will not working because it's read only. By the way, if you use bounded data you can't clear it. But if you use typed data you can clear the collection with this:
Private Sub btnClearALL_Click(Byval sender as object, Byval e as System.Eventargs) Handles btnClearAll.Click<br />
datagrid1.rows.clear<br />
End Sub
Exprience is the best teacher
|
|
|
|
|
I couldn't find any forum related to just VB so the closest one to my topic was this one.
Does anyone know of a VB DEcompiler? I need to get some information out of our old compiled VB code. I believe is VB 5 or 6. Can anyone help me?
|
|
|
|
|
Eddymvp wrote: I couldn't find any forum related to just VB so the closest one to my topic was this one.
This forum is for VB.
Eddymvp wrote: Does anyone know of a VB DEcompiler?
For decompiling a .exe file? You cannot do that, because once a program is compiled, there's no way of decompiling the code because it's just 1s and 0s then.
Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.
|
|
|
|
|
VB5 and 6 both compiled down to native code, but start at too high a level. There is nothing that will decompile it back to anything close to resembling the original source.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Search for reverse engineering and VB.
As already have been pointed out, it's impossible to get the original code back, but it's possible to re-create code that will do the same as the original code did.
---
Year happy = new Year(2007);
|
|
|
|
|
You can try to read the ansi character if you want to get dizzy. Why don't you make the decompiling program by yourself
|
|
|
|
|
Hi
Im wanting to find out alittle about the etiquette or practise if you like about handling databases in terms of do they ever need to be recreated after a certain time or is a database supposed to live for as long as you using the software .
I guess in short what im wanting to know is. if my app is a reciepting software , is there a time i need to tell my app that its time to backup a final copy of the database and create a clean copy perhaps each year or so. how does it work.
thanks. i hope i've been able to relay what i need so understand
Robbo
|
|
|
|
|
vbbeg wrote: Im wanting to find out alittle about the etiquette or practise if you like about handling databases in terms of do they ever need to be recreated after a certain time or is a database supposed to live for as long as you using the software .
It depends. If you want to hose a database and start again, then you'd recreate it. If the data was corrupt, you may restore from a backup. There's no way you regularly backup and restore for no good reason, and running your scripts again will delete all your data, by default.
And, if you're using an MDB, you have a pretty limited database to start with. It's not necessarily a problem, if your app is small, but you end up with a file you can easily just copy over, without having to use management services at all. But, only if you want to reset it, or restore to a point.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi Christian
from what i've learnt is that its a matter of design right ?. actually i am using access db. is there a pattern i should follow when wanting to recreate or reset the database . for e.g. yearly . end of financial year etc. is that something i should incorporate in my app.
many thanks
|
|
|
|
|
vbbeg wrote: actually i am using access db.
MDB is an Access database, or another name would be "Jet". It's the file extension used by Access.
vbbeg wrote: is there a pattern i should follow when wanting to recreate or reset the database . for e.g. yearly . end of financial year etc. is that something i should incorporate in my app.
If your requirements specify it, then yes. Like Christian said, it's up to you what you do with the data.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Given that you're using an MDB, the easiest solution would be to carry a copy of an empty database in the program, and copy it over the database if you ever want to reset it. But, yes, it's up to you. I've never offered this in any way, if I want to reset a DB, I run the scripts again, but generally a DB exists to store data, and once I store it, I keep it
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Thanks a million Chris. I will migrate to SQL hopefully soon. i guess my thought to understand how databases should be maintained to be at a certain size etc especially when it comes to backups etc. in any fact i've got what i need for now and thankyou so much for your assistance.
Regards
Robbo
|
|
|
|
|
vbbeg wrote: I will migrate to SQL hopefully soon
You mean SQL Server ? It makes more sense for a distributed application, for sure.
Glad to help
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|