TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
pet_gr
NA
7
0
Help!!!!!
Jan 18 2004 3:41 PM
I have a lot of questions i'm a newbie in the c# world and i am updating my knowledge from the oracle forms developer to new technologies.... I am writting a query builder in c# against an Oracle Connection... It's making me have a lot of headaches(.... always a newbie) First of all How can i display the datagrid in table mode, i load the data in the datagrid but it's appear as treenode and i need to show it as a normal datagrid. Second here is my code(it jus a little shit.. it just started today....) I have found that it takes a little bit of time to execute.. Can someone read it an help me.... Thanks... This code is implemented in a button.click event: string sql; sql= textBox1.Text; OracleConnection conn = new OracleConnection("Data Source=Oracle;USER ID=SYSTEM;PASSWORD=MANAGER"); conn.Open(); OracleCommand cmd = conn.CreateCommand(); cmd.CommandText = sql; cmd.CommandType = CommandType.Text; DataSet ds = new DataSet(); OracleDataAdapter adapter = new OracleDataAdapter(cmd); adapter.Fill(ds); dataGrid1.DataSource=ds.DefaultViewManager; Thanks...
Reply
Answers (
2
)
asp.net database connection using oledb
Matriz Byte[]