|
How to add autogenerate number in datagrid
|
|
|
|
|
You can't. The database generates it so you can only display it.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
You need to clarify your question, in order to make us understand the problem clearly. Make your query descriptive dude Check out the links given below:
ClickHere
www.daniweb.com/forums/thread105333.html[^]
P.S. You should have googled for this, before posting it here.
|
|
|
|
|
Rajdeep.NET wrote: P.S. You should have googled for this, before posting it here.
Thats rich, coming from someone who asks how write to a file 5 minutes later
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
So you do know how to use Google then? And here I was thinking that you didn't know how to google.
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
How to convert these code to C#? Thanks!
memset(m_bParameterData, 0, sizeof(m_bParameterData));
Float2IEEE((float)EXTERNAL, m_bParameterData);
|
|
|
|
|
The memset is there to clear out the memory that the pointer is pointing to. I believe you should be able to ignore that here.
As for the other function, I have no idea what it is. Where was it being used before? Is it in an external DLL?
My current favourite word is: Delicious!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
Hi all,
In my case, i am getting the datatable(dt1) and then bind to gridview (gv1). And in the gv1 i am already add the TemplateField(checkbox) for each rows.
My question is how can i delete the datarow according the checkbox(if checked) in the gv1 ?
any helps are welcome.
regards
cocoonwls
|
|
|
|
|
Assuming that you are actually using a DataGridView.
Iterate over the Rows collection, and delete those that have the CheckBox checked.
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 would like to know how to detect through c# programming if Acrobat Reader or Adobe Acrobat Professional is actually running.
Thanks a lot.
|
|
|
|
|
|
System.Diagnostics.Process[] processes = System.Diagnostics.Process.GetProcessesByName("AcroRd32");
if (processes.Length >= 1)
{
Response.Write("Acrobat Running");
}
else
{
Response.Write("Acrobat Not Running");
}
can we get the reference of the file for which the AcroRd32.exe is applied. If so, How?
|
|
|
|
|
if i want to develop mobile application from where i should start?
|
|
|
|
|
|
|
Hi everibody
I'm trying to make a simple drag and drop of strings between 2 list (or other control wich is appropriate), but I can't succed to realize this. I looking for a tutorial, or a guide wich can explain to me how to implement this simple functionality with events. There some example on the net, and on the CodeProject website, but i can't succeded to run them properly on VS2008.
If anybody can explain me how to realize this simple drag and drog, I'll be very gratefull
best regards.
|
|
|
|
|
Tom
If you cannot follow a well laid out tutorial then I suggest changing job/course and trying something less challenging.
This one is 5 years old[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thanks for the link : this tutorial or example or course (name it as you want) seems to be weel done, and thanks for your advice but I wasn't asking for a career manager.
best regards.
|
|
|
|
|
Hi,
can any one tell me how to Convert a hexa Decimal value(4363A00E) to decimal(in the format of 123.34567)in C#.Is there any direct function to do this?
Thanks in advance
|
|
|
|
|
Member 3057887 wrote: Convert a hexa Decimal value(4363A00E) to decimal(in the format of 123.34567)
Why would you want to convert a hex value to a float? Unless it is the hex representation of the internal value of a float?
Or are you just to lazy to tell us what you want to achieve?
Give information, including what you have tried, and you are more likely to get a helpful response.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Here you go[^]
Cheers,
Vikram. Current activities:
Films: The classic Pink Panther series
TV series: Friends, season 3
Books: Liar's Poker, by Michael Lewis. Carpe Diem.
|
|
|
|
|
you really need to see this website. www.lmgtfy.com . It's much more informative
|
|
|
|
|
String hexNumber = "4363A00E";
int i = Int32.Parse(hexNumber, System.Globalization.NumberStyles.HexNumber);
Why do you want to display it in decimal? You can't create decimal with an hexa...
|
|
|
|
|
Hi,
Thanks for replying so soon. I am doing an application involving serial Port.I am getting data from Serial Port in Hexa decimal format(for eg.436300E).I need to convert that into floating point(eg.123.34).
Thanks
|
|
|
|