|
Thanx's for your Replay
Actually I m not use a single database.
My application can open any database(MS Access File).
So that i don't know content of file. After open the database it retrieve all data value and header name also.
Know I can view all the data but can't update, delete or insert b'coz
1. Don't know the Primary Key value. some time it gives error.
and Which base I can perform the delete / Update Operation.
|
|
|
|
|
Hmm, I think you are using odbc or something similar to access the database.
One possibility to identify the primary key column could be to use Automation (take a look here http://support.microsoft.com/?scid=kb%3Ben-us%3B317114&x=18&y=5[^].
Then you could open the file using access and find the primary-key column.
Some SQL-DBS offers the possibility to get information abouot the structure by sql statements, but I don't know if access can do this.
Hope this helps you a bit.
Regards
Sebastian
|
|
|
|
|
|
Please don't abuse the articles system. We get enough crap posted in there without having to weed stuff like this out. Articles are places to post, well, articles which should give useful information and advice. They aren't there to post questions.
|
|
|
|
|
how to create tables in c#
pls tel me how to create tables and display output in tat for certain program
the quieter u become more u hear
|
|
|
|
|
Hi,
what kind of tables do you mean exactly? Database-Tables, DataTables in memory?
You can use GridView-Controls to display data from tables.
Please be more specific what you want to achieve, so that we can help you a bit better.
Regards
Sebastian
|
|
|
|
|
im asking data tables in memory dude
the quieter u become more u hear
|
|
|
|
|
Look up "Collections" - there should be something in there that will suit your needs
|
|
|
|
|
Okay, so what do you want to know exactly?
Something like this?
<br />
System.Data.DataTable table = new DataTable("MyTable");<br />
DataColumn column = new DataColumn("MyColumn");<br />
column.DataType = System.Type.GetType("System.String");<br />
table.Columns.Add(column);<br />
<br />
DataRow row = table.NewRow();<br />
row["MyColumn"] = "test";<br />
table.Rows.Add(row);<br />
Regards
Sebastian
P.S.: Please be so kind not to call me "dude".
|
|
|
|
|
k........... thanks
the quieter u become more u hear
|
|
|
|
|
i think u can go for DataGrid or DatagridView or ListView controls
rahul
|
|
|
|
|
thank u friends
the quieter u become more u hear
|
|
|
|
|
Hi all,
I'm just wondering if there is a way around this problem:
Basically, when an incoming call comes in and then it is missed, the event fires and grabs the last name and number of the caller. The problem being is that there are two lines added that are identical to the listbox.
SystemState MySysState = new SystemState(SystemProperty.PhoneMissedCall);
MySysState.Changed += new ChangeEventHandler(MySysState _Changed);
void MySysState Changed(object sender, ChangeEventArgs args)
{
ListBox1.Add(SystemState.PhoneLastIncomingCallerName.ToString() + ": " + ListBox1.Add(SystemState.PhoneLastIncomingCallerNumber.ToString());
}
MySysState is being declared in the form load, btw.
Could anyone point me in the right direction?
Thanks in advance.
|
|
|
|
|
Are you sure you need the nested ListBox1.Add()? Shouldn't the code look like:
void MySysState Changed(object sender, ChangeEventArgs args)
{
ListBox1.Add(SystemState.PhoneLastIncomingCallerName.ToString() + ": "
+ SystemState.PhoneLastIncomingCallerNumber.ToString());
}
There is also one missing ")" in your code
--
"My software never has bugs. It just develops random features."
|
|
|
|
|
Could it be that the event is being fired twice in quick succession? When I wrote a similar piece of code, I vaguely remember the event firing everytime the number of missed calls change. It fires when you get a missed call (missedcall count = 1) and fires when you go to the missed calls window (missedcall count = 0).
|
|
|
|
|
Hi,
I'm writing a game program using C# for a school project, similar to that of beatmania / djmax games. Anyone has any idea how to go about writing it? Or is there any similar references? Cos I don't seem to be able to find any online. Thanks!
Cheers,
Lun
|
|
|
|
|
Look for XNA tutorials - there are plenty of those out there
(XNA is Microsoft's managed wrapper around DirectX, and opens the door to the Xbox community games - i.e. if you get it good, you can get it released, and start earning money off it)
|
|
|
|
|
float Float1= BitConverter.ToSingle( tempByte,0)
with temByte[0]= 0
temByte[1]= 0
temByte[2]= 160
temByte[3]= 127
Why after execution, i got Float1= NaN?
Thanks
|
|
|
|
|
Because that data is one of the codes that represent the value NaN.
Try for example { 0, 0, 128, 63 }.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Anyone having idea to read pdf in c# with images preserved
I had googled this for last 7 days without any sucess...
Thanks
Don't walk as if u rule the world,walk as if u don't care who tha Hell rules the world ...
modified on Monday, January 12, 2009 3:19 AM
|
|
|
|
|
I don't think there is any way around for reading PDF in C#.
|
|
|
|
|
|
already used iTextsharp,
any other way if i want to develop it from scratch
Thanks..
Don't walk as if u rule the world,walk as if u don't care who tha Hell rules the world ...
|
|
|
|
|
inzibharti wrote: i want to develop it from scratch
1. Download the PDF specification from the Adobe site.
2. Read it thoroughly.
3. Develop some algorithms to implement the spec.
Job done!
Henry Minute
If you open a can of worms, any viable solution *MUST* involve a larger can.
|
|
|
|
|
Thanks Henry...
Don't walk as if u rule the world,walk as if u don't care who tha Hell rules the world ...
|
|
|
|