|
Prashant Gadhave wrote: I have used a dataset and fired a query on it using select method which returns datarow array
For filtering rows of a DataTable you should use System.Data.DataView and set that as the DataGrid.DataSource.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
Hi
I understand u r problem and has a solution
Use DATAVIEW
DataView Dv = new DataView(DataTable);
Dv.RowFilter = ""//Write the query
and then assign
datagrid.datasource=DV
vivek vitthalrao hedau
|
|
|
|
|
Hi folks,
I have a process that opens windows explorer, but it defaults to My Documents. Is there anyway I can default it to a folder of my choice, or navigate it like with the webbrowser control?
Thanks,
Ben.
|
|
|
|
|
Solved it, just needed to set the arguments option
|
|
|
|
|
|
You could draw on the Paint event, or paint to the Bitmap.
|
|
|
|
|
|
Hi folks, I have an urgent problem I need to solve, how can I set a folders attributes to make it a hidden folder?
Many thanks,
Ben.
|
|
|
|
|
Did System.IO.File.SetAttributes() not work? Never tried it myself.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
Works for me!
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
Worked perfectly, thanks
|
|
|
|
|
how to view dataset object in debug mode in tabular view , any shortcuts?
san
|
|
|
|
|
I am using Infragistics ultragrid control. Grouped by particular column and try to sort it based on group by column. After sorting rows are not coming in proper group, Please help
santosh
|
|
|
|
|
kumar.bs wrote: I am using Infragistics ultragrid control. Grouped by particular column and try to sort it based on group by column. After sorting rows are not coming in proper group, Please help
Ask in their forum or try their technical support!
Regards,
Nish
|
|
|
|
|
I'm sorry I have to write it one more time (this is something like the 5th time), but no-one has answered and I have to get them figured out! and I will keep posting it every time it crosses the next page untill I will have answers, and as you see.... this is REALY ORGENT!
please help me...
1. I'm trying to build my own ICryptoTransform-able (System.Security.Cryptography.ICryptoTransfom) class, so I could use it in CryptoStream. (I searched in codeproject articles and didn't fine something helpful, I promiss that if some-one will help me I will write an article on how to do it!)
I already built the algoritm, and I inherited from ICryptoTransform as they wanted to, and I'm using MSDN to know what methods and properties I need to do, but there are two properties, and two methods that I don't know what to do with them, and what I should return from them... the properties are InputBlockSize AND OuputBlockSize, and the methods are TransformBlock and TransformFinalBlock, I don't know what they need to get (what does every parameter stand for), and what to return, the MSDN doesn't help me very much in here.
If anyone can tell me what to do in them, and even give me an exemple I would appriciate it...
2. And one more thing, where can I save information on my application (i.e is registered, setupdate etc...), and how that it won't be able to be changed without my pass or something like that...?
Thanks alot in advance
|
|
|
|
|
The MSDN page on TransformBlock[^] should help you with the parameter meanings.
As far as InputBlockSize and OutputBlockSize, have you tried some arbitrary value, say 4096? My guess is that this is just the size of the each block encrypted in/decrypted from the stream.
As far as storing information regarding setup, if you absolutely need it password protected, you'll need to write something yourself that saves the information to disk in an encrypted format and requires a secret password in order to modify. Chances are though, that's overkill. Just put that information in a configuration file or in the registry.
Also, threatening to keep posting your message does little for your cause; it makes you come across as demanding.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Islamic Domination: Coming to a Jewish state near you!
The apostle Paul, modernly speaking: Epistles of Paul
Judah Himango
|
|
|
|
|
don't you think that I would have already searched for all of this if I was asking this 5 times?
I saw almost everything but still doesn't explain very much and very good...
I still don't know what every parameter stand for...
as for storing data, I don't need it to be password protected, but if I put it in a configuration file then it's open to all to modify, and I don't want that.
I keep posting this because it's going down and no-one sees it, and it's realy importent to me, so I keep posting until I'll get my answer.
|
|
|
|
|
NaNg15241 wrote: and no-one sees it
How do you know that?
NaNg15241 wrote: so I keep posting until I'll get my answer.
Ok but at least stop saying "REALY ORGENT" ... should be "REALLY URGENT".
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
:P I haven't checked it in the dictionary... and most ppl here are not from US\UK, like me... :P
|
|
|
|
|
Then just look at the recent postings. I bet you don't have to go many pages back to find a post with the subject "PLEEEEASE ANSWER MY QUESTION!!! VERY URGENT!!!!!!!!!".
---
b { font-weight: normal; }
|
|
|
|
|
|
comeon guys help me please... I helped alot in the past two days (well at-least tryed my best to help), please just with these two problems help me very quick, I have no-one else to turn to, and I need it fast, I can't read 5 articles right now.
|
|
|
|
|
NaNg, calm down and think logically. You seem to believe that everyone has developed an ICryptoTransform. If that were the case you would have found infinite examples on the internet. If you don't believe me do a Google for internet chat program code.
I have no idea how to develop an ICryptoTransform or I would gladly help you.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
leppie does and he is not telling =\
so atleast the other question, about the settings... I don't need it to be password protected, I just need it to be protected, so it can't be seen as plain english...
oh and another thing, if I use the VC# Express publisher, how can I retrive the installation path? (I want to put a link on startup folder to the file)
|
|
|
|
|
NaNg15241 wrote: I just need it to be protected, so it can't be seen as plain english...
see this previous thread[^]
NaNg15241 wrote: if I use the VC# Express publisher, how can I retrive the installation path?
Never used it. Does it create a MSI (Windows Installer)? Windows Installer will have the installation path and provides mechanisms for creating startup entries. I don't know how to use it to create a shortcut to a folder.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|