|
I am not able to add rows n values to data gridview programmatically(without binding to datasource)..I think the problem is because the rows are assigned 'databound' property...Any alternative for 'databound' so that i can add values programmatically?
|
|
|
|
|
I dont think that there is something else than databound? But the question is why dont you want to use databound??
|
|
|
|
|
i dnt want to use databound because i am adding values to datatable on each buttonclick...if databinding is used the firstly written values will get refreshd
|
|
|
|
|
Man your really confusing me you wrote to threads and it appears that am answering both. So Please Give Me a big scenario to help you i know i can, but i should understand what is happening with your code. I think it is something easy once i know what is really going on.
|
|
|
|
|
Hi all ,i would like to find default Audio devicesin my desktop application, i used coredll.dll , while accessing the deviceID i m getting the follwoing error. i have tried TAPI , DirectX for Audio streaming no fruitfull result.
code:
if (KernelIoControl(IOCTL_HAL_GET_DEVICEID, IntPtr.Zero, 0, outbuff, nBuffSize, ref dwOutBytes))
Error :
Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
could anyone suggest me whetehr we can use coredll.dll.
|
|
|
|
|
|
Hi,
I am working on a windows application and in this I am using a Rich Textbox. In this I want to fix the number of lines in the Rich textbox.When I increase the font size of the text in the Rich Textbox then also the number of lines in the rich textbox should not change.
For example if a rich textbox contains 10 lines of text and if I increase the font size then also it should then also the rich textbox should contain 10 line but not 11 or more line. These extra lines should be deleted or move to the next rich textbox.
If anyone have idea to solve this please reply me.
Thanks in advance.
|
|
|
|
|
|
i am inserting values to my datatable for each button click event..Then i am databinding it to data gridview..But the first value inserted in the gridview is getting overwritten with each button_click event.I dont want this thing to happen.For each button click event the datagridview column should increment once and the new values should get added to the new row in gridview.
I think databinding property is the problem..Is there a way to add values to gridview wihtout databinding,so that i can add values to data gridview without the first value gets overwritten?????
|
|
|
|
|
When a pdf file is opened in adobe reader 8.0, how to read the adobe reader text,
can anyone suggest how I can achieve this in c#?
Is acrobat SDK required for doing this...
|
|
|
|
|
|
svt gdwl wrote: When a pdf file is opened in adobe reader 8.0, how to read the adobe reader text,
If at all such a thing would be possible, then you'll need the SDK for that. Have you read the SDK manual to see if such a feature is supported?
However, personally I think that you will only be able to read a PDF file offline (as opposed to what is currently open and is being displayed by acrobat reader).
And such offline manipulation of PDF files, you can do with something like iTextSharp, which the other poster pointed out.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
I'm using a regular expression to remove some whitespace in a string (length of ~200 characters), which immediately results in memory usage of 1.2+ gig. Stepping through my code in the IDE, everything is fine until I hit this line intended to remove the whitespace between XML tags...
string cleanStr = Regex.Replace(inputStr, @">\s+<", "><");
Evaluating this line results in the immediate occupation of memory. Oddly enough, this is not the case when I run the standalone executable independant of the IDE. I'm pretty new to regular expressions, but this does actually achieve what I want...just with a massive memory footprint.
Suggestions?
|
|
|
|
|
Your code worked without any extra memory usage on my VS2008.
|
|
|
|
|
hai friends
i developed a project in c# 2.0 version and created a setup
using the dotnet ide.
and i installed in the client system.
client system has 3 versions of dotnet frame work
namely
.net frame work 1.1
.net frame work 2.0
.net frame work 3.0
when i run my software then it is showing error
.net frame work version not found
This error is raised from .net Frame work 1.1
plz help
i think i could not expalined you clearly
but it is a version problem only.
Thanks in advance
vijay kumar d
|
|
|
|
|
hi there , i have 1 internet connection(Public connection) and 1 LAN connection(Private Connection) i want to capture all incoming packets from both connections at the network layer and alter some of its fields such as source ip, source port, dest. port and dest. ip.
i know i should use low level sockets to read all incoming packets at network layer! but how to do that? any one know?
|
|
|
|
|
|
I knew these libraries , they are all about monitoring analizing and sniffing the network packets! i need a way to alter these packets and resend them! these won't help me.
|
|
|
|
|
I don't think it's possible using C#. What do you want with that ?
Do you want to modified packet ? I don't think it's a good idea.
|
|
|
|
|
but it's some times a good idea! do u know about NAT server? it changes the Packet's spurce ip address and port! providing port translation!
i am trying to create a custom NAT! so i need to change Packet's fields accordingly
|
|
|
|
|
yes I know, but it runs on kernel mode. you must write the code in C, like WinPCap.
It's not possible creating it directly using C#.
|
|
|
|
|
hi, i m able to check the validator rules for indivisual and display the message together.
but i want to chek the all field and display the message one by one.
|
|
|
|
|
You question is not clear.
Could you try to reword it.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
i want to send an email to someones outlook inbox using C# and get the reply(email) from that user using C#. how can i do it??? plzzzzz help me out!
thnx in advance.
|
|
|
|
|