Thank you so much. I get your recommendation.
Miri Ofir
Posts
-
Open HTML page in Window application? -
Open HTML page in Window application?Is it possible to open html page in window applicaion? the program language is c#.
-
dateTime column in datagridThank you, but I have a window application and the DataFormattingExpression property isn't exist. finally I found a tutorial here, at: http://www.thecodeproject.com/csharp/Apply_DataGridTableStyle.asp[^]
-
How to use Universal Link Data (C#)?Thank you everybody. Finally I found a way to do what I want. I read the connectionString as a text file.:-O using (StreamReader sr = new StreamReader("c://WINNT//myConnection.udl")) { string line; //--the connection string is define at the third line of the file line = sr.ReadLine(); line = sr.ReadLine(); line = sr.ReadLine(); connectionString = line; }
-
How to use Universal Link Data (C#)?Thank you Nick. The DB is in SqlServer and not in Access, is that means that I couldn't use udl to create connection?
-
dateTime column in datagridI have a table in sqlServer with some columns if dateTime values (date + time) I wrote a stored procedure that select those columns, the stored Procedure works properly. I tried to retrieve the data into dataSet and then to dataGrid. I get a very nice datagrid with the whole data, but the coulumns of datatime values show only the date. I need the time also. How can I get it? I know that there is some types of datacolumn like dataGridBoolColumn or dataGridTextBox column, but I couldn't find dataGridDateTimeColumn. Thank you;)
-
How to use Universal Link Data (C#)?Hallo I try to write a window application that connect to database with udl. The connection is O.k (I tested it), but when I want to use it in my code, it failed. my code: static SqlConnection con = new SqlConnection(); con.ConnectionString = "File Name=C:\\WINNT\\myConnection.udl;"; con.Open(); I also tried: con.ConnectionString = @"File Name=C:\WINNT\PrePaidDb.udl;"; and also try to define it in app.setting. the error is always: {"Keyword not supported: 'file name'." } Do someone has any idea. Thanks a lot