Click here to Skip to main content
15,896,154 members

Comments by dr_iton (Top 42 by date)

dr_iton 14-Oct-16 2:48am View    
"username/password" I will use only in one site (which is my site). When other people want to use that streaming they need another username and password.
According to your solution, correct me if I'm wrong, you are saying that I need to manipulate the .htaccess file or something similar.
Cheers.
dr_iton 8-Dec-15 11:39am View    
As you can see, I'm sending a parameter with stored procedure ("@ID_Field") which has an Int value so none of above suggestions works.
The parameter that I send is:
sqlCmd.Parameters.Add(new SqlParameter("@ID_Field", SqlDbType.Int));


sqlCmd.Parameters["@ID_Field"].Value = Convert.ToInt32(DDL1.SelectedValue);

Thank you
dr_iton 4-Dec-15 3:26am View    
The problem was that I never used this before, solved the problem after I added a property in the boundfield. In case that someone else has the same problem the solution is to give a property to the column of datetime:
dataformatstring="{0:dd-MM-yyyy}" HtmlEncode="false"
Cheers.
dr_iton 3-Dec-15 19:08pm View    
Ok I can return the database column in DateTime format, but I want to show that column as a short date time format in grid view DateTime.ToString("dd-MM-yyyy")

Thank you for fast reply.
Cheers
dr_iton 24-Nov-15 12:39pm View    
Yeah, that was a solution. Thank you very much mate.
Q: Why do I always find a solution here?
A: Because here are the best programmers in the world.
Cheers.