Iam new to asp.net and Iam trying to bring my LDAP values on to a grid view. When I run my application iam not able to see the grid (the page turns up empty) what could be the possible reason??
public DataSet Userlogin(string sFilter, string[] columns, string path, bool useCached)
{...
Iam trying to give access to users who are in a database table the code is working fine if i type in the right username and password. But when i type incorrect username or password iam getting an error: index out of range exception was not handled by user code. There is no row at position 0.Blow...
i have a date field in the database which was declared as a varchar datatype. Because of that iam having problems sorting this date field inside the grid. Can anyone give me a SQL command to convert the varchar data type to a datetime data type??
I want to sort a date column in a grid view and iam using the following code. Iam getting an error The server tag is not well formed.
<asp:TemplateField HeaderText ="Date Injured">
<EditItemTemplate>
<asp:Label ID="Label3" runat="server" Text=‘<%# Eval("DATE"...
I am using a grid view which has a column containing dates in ASP.net 2.0. The data is being pulled from a SQL database by which the datasource is connected through OLEDB. The problem that I am running into is that when I click on the date header to sort the field in the gridview, the dates are...
I am using a grid view which has a column containing dates in ASP.net 2.0. The data is being pulled from a SQL database by which the datasource is connected through OLEDB. The problem that I am running into is that when I click on the date header to sort the field in the gridview, the dates are...
I have a grid with the following code. How do i enable bi-directional sorting to my columns???
<asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" AllowPaging="True"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.