|
What an awful question! Extraction of what sort of information?
|
|
|
|
|
extraction infomation from website online (code= c#)
help me pls !
|
|
|
|
|
daicapeter wrote: extraction infomation from website online (code= c#)
The main problem is that you don't know what is your exact requirement
|
|
|
|
|
Wow. this has to be the worst question I have seen for some time. It makes no sense at all.
I *think* you want to parse a website. You can do this with the DOM, or with regex.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
And a damned good one at that! Just went through it and printed it for a better read, thanks for that post.
|
|
|
|
|
Are you looking for something like this[^]?
/ravi
|
|
|
|
|
Hello,
How to retrieve information of installed anti-virus using WMI.
Thanks
Kiran Banker
|
|
|
|
|
banker_kiran wrote: How to retrieve information of installed anti-virus using WMI.
What kind of information do you want to retrieve ?
|
|
|
|
|
Like,
Name, Version and UpdateStatus
Kiran Banker
|
|
|
|
|
Have a look on Win32_Product Class .
Read This[^]
Hope this will helps you !!
|
|
|
|
|
Hi !!!
I done a program in C# that I can access all MS Access database file (Inside all table).
Know i can access all table values. know I m planning to update / delete/ and insert operation.
1.For that I want find Primary Key Value for delete and update.
2.In case Insertion find the Primary key to avoid duplication.
3.If any new method plz tel me.
I m new to C#.
Thanx's in advance.
|
|
|
|
|
Hi,
do you need help with your sql-statements?
1. Well, what do you want to delete/update? E.g. if you want to update data for a person, you normally have a row representing this person. If your user enters data in a form to edit this person, you have the primary key, since you loaded this person before.
2. If the primary key will be incremented automatically, you don't need to set one. If it is not, just do a select with the new primary key before inserting the new row.
3. Don't understand the question here. What do you mean by "new method"?
Regards
Sebastian
|
|
|
|
|
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
|
|
|
|