Forum: ASP.NET 1 Day Ago |
| Replies: 3 Views: 102 You need to create a select statement to return all that data, Can you show table structure so we can help you to build the select. after that there are different ways to fill the grid with the data... |
Forum: ASP.NET 14 Days Ago |
| Replies: 4 Views: 448 oops sorry about that i didn't notice that mr. ramesh post a really nice solution. anyway i think you have the point. |
Forum: ASP.NET 14 Days Ago |
| Replies: 4 Views: 448 private int DaysIgnoreWeekends(DateTime dtst, DateTime dtend)
{
TimeSpan days = dtend.Subtract(dtst);
int count = 0;
for (int a = 0; a < days.Days +... |
Forum: ASP.NET 15 Days Ago |
| Replies: 2 Views: 277 Probably this is not the best recommendation, maybe you would like to do something by you own, but if you want a reallly nice way to easy do charts, use this http://www.fusioncharts.com/free/ they... |
Forum: ASP.NET Oct 27th, 2009 |
| Replies: 7 Views: 426 Yes, well for now im going to mark this thread as solved once the program is doing what i want, thank your very much for your help if i have another issue i will be around thanks again.
regards. |
Forum: ASP.NET Oct 26th, 2009 |
| Replies: 7 Views: 426 Ok, Ramesh I think i got it, I use the link you provide to use the preinit but insted of using preinit i use prerender in that case i can execute my code from the master page in the load event in... |
Forum: ASP.NET Oct 26th, 2009 |
| Replies: 7 Views: 426 Ok, Thanks Ramesh, Actually with your previous comment i got it to do what i want, but the master page load event trigger after the content load event which i would like to run the content load event... |
Forum: ASP.NET Oct 26th, 2009 |
| Replies: 7 Views: 426 Actually is something like the link you provide here, but i do not have any button to trigger this code it just run in the load page, well the thing is that piece of code is general for every single... |
Forum: ASP.NET Oct 25th, 2009 |
| Replies: 7 Views: 426 Hi, I would like to know how can I execute an event from a web content form, for example i would like to run a centralized event to assign rigths to component in every webform, but i would like to do... |
Forum: ASP.NET Sep 30th, 2009 |
| Replies: 2 Views: 310 Got it!!! thanks for your comment. |
Forum: ASP.NET Sep 29th, 2009 |
| Replies: 2 Views: 310 Hi all, I just have curiosity about something that I read in a book " Unlike using the DataGrid, where you are responsible for
coding the sort routine, to enable column sorting in this grid, you... |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 3 Views: 247 |
Forum: ASP.NET Aug 28th, 2009 |
| Replies: 17 Views: 817 I use querystring to retrieve parameters send from another form, let's say that you are and index.html and there is a link url to default.aspx like this
~/Default.aspx?var=hello
then and the... |
Forum: ASP.NET Aug 19th, 2009 |
| Replies: 10 Views: 780 I found what i wanted.
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
PopulateMenu();
}
}... |
Forum: ASP.NET Aug 18th, 2009 |
| Replies: 1 Views: 480 Into the datagrid's headerstyle property add this
CssClass="ms-formlabel DataGridFixedHeader"
<!-- Then into the head tag create a style method like this -->
<style... |
Forum: ASP.NET Aug 5th, 2009 |
| Replies: 11 Views: 887 Hi, try to add this row in the web.config
<identity impersonate="true"/> |
Forum: ASP.NET Jul 30th, 2009 |
| Replies: 1 Views: 309 Hi, check this thread could be helpful for you
http://www.daniweb.com/forums/thread204828.html |
Forum: ASP.NET Jul 30th, 2009 |
| Replies: 5 Views: 335 you have to do something like this.
foreach (Control cn in form1.Controls)
{
if (cn.GetType().Name == "RadioButton")
{
... |
Forum: ASP.NET Jul 30th, 2009 |
| Replies: 2 Views: 807 In fact that is the problem that the hyperlinkcolumn does not have the CommandName property. |
Forum: ASP.NET Jul 29th, 2009 |
| Replies: 11 Views: 887 Ok so then you have to add to the bin folder in your project two dll files System.Web.Extensions.Design.dll and System.Web.Extensions.dll you can find these files under this path usually C:\Program... |
Forum: ASP.NET Jul 29th, 2009 |
| Replies: 2 Views: 807 Hi, friends i have a datagrid bound a hypercolumn
<asp:DataGrid ID="menu" AutoGenerateColumns="False" Runat="server">
<Columns>
<asp:HyperLinkColumn DataTextField="OPT_DESC"... |
Forum: ASP.NET Jul 29th, 2009 |
| Replies: 11 Views: 887 was the update related to asp.net ajax? |
Forum: ASP.NET Jul 27th, 2009 |
| Replies: 2 Views: 299 Try using this code
cmd.Parameters.Add("@YourField", SqlDbType.VarChar).Value = "Value" |
Forum: ASP.NET Jul 9th, 2009 |
| Replies: 2 Views: 328 hi,
what you need is just this
this.drpDMSType.Items.FindByText((string)tblDMS.Rows[0]["dms_type_alias"]).Selected = true;
take care. |
Forum: ASP.NET Jul 7th, 2009 |
| Replies: 4 Views: 251 The easiest way to do it is with a compare validator control
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="DropDownList2" ControlToValidate="DropDownList1"... |
Forum: ASP.NET Jul 7th, 2009 |
| Replies: 4 Views: 251 try use this dropdown.SelectedItem.Value to retrieve the values from the drop down box.
regards. |
Forum: ASP.NET Jun 28th, 2009 |
| Replies: 10 Views: 780 Ok, thanks for your help, I will be playing around with some of it. I let you know how i am doing.
Regards. |
Forum: ASP.NET Jun 28th, 2009 |
| Replies: 10 Views: 780 You're saying populate the menu manually thru a sitemap? |
Forum: ASP.NET Jun 27th, 2009 |
| Replies: 10 Views: 780 yes something like that. i have not try it yet, but I am wonder how im going to set the sub menus and all that. |
Forum: ASP.NET Jun 27th, 2009 |
| Replies: 10 Views: 780 Hi i have a table which i was using with a datagrid using hyperlink to maintain a simple menu to browse a internal site. but now i decided to create a horizontal menu with the Menu Component of... |
Forum: ASP.NET Jun 25th, 2009 |
| Replies: 1 Views: 1,098 have you ever figure that out? |
Forum: ASP.NET Jun 24th, 2009 |
| Replies: 3 Views: 3,177 |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 3 Views: 3,177 Well partner in c# i will do this, probably you can translate this to vb.
System.Text.StringBuilder sbScript = new System.Text.StringBuilder("");
sbScript.Append("<script... |
Forum: ASP.NET May 18th, 2009 |
| Replies: 1 Views: 1,323 I would say this
<td><asp:Checkbox ID ="cat_title_chk" AutoPostBack="true" runat="server" OnCheckedChanged="CheckChange" Text='<%# Container.DataItem("M_CATPAGES_CAT") %>'></asp:Checkbox> </td> ... |
Forum: ASP.NET May 14th, 2009 |
| Replies: 3 Views: 320 I believe there is some!!! but in my opinion the main one is performance. |
Forum: ASP.NET May 14th, 2009 |
| Replies: 3 Views: 1,543 Why do you want to do that? anyway you can do this
using System.Text.RegularExpressions;
str="";
int no;
Regex rxNums = new Regex(@"^\d+$"); // Any positive decimal
if... |
Forum: ASP.NET May 14th, 2009 |
| Replies: 4 Views: 1,153 Hi,
This code going into the dropdown event change, i think you are using 2003, im sorry i cant test this code in that version but in 2005 it work, hope that work for you.
string strJS = "";
... |
Forum: ASP.NET May 12th, 2009 |
| Replies: 4 Views: 1,657 I do not really understand your point. because if you want to edit something and that is why you have a edit button, the row you working with should become textbox in order to edit something. |
Forum: ASP.NET May 12th, 2009 |
| Replies: 4 Views: 1,153 hi,
you need to set the MaintainScrollPositionOnPostBack in the aspx page
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"... |
Forum: ASP.NET May 8th, 2009 |
| Replies: 3 Views: 603 I am sorry but i think you need to redesign your database in that case i would have 3 tables like this,
First one "Student" with all the personal Info.
Second One "Course" with al Course available... |