13,153 Topics
![]() | |
I am creating an web application which uses abcpdf to convert an html page to pdf. the html page uses javascript to for some dynamic parts.. I have already tried setting the UseScript bool to true as follows : theDoc.HtmlOptions.UseScript = true; It renders static text and omits javascript content. … | |
Hey, im trying to dynamically add an image to a gridview for each row if it meets a condition. DataTable dtSub = new DataTable(); dtSub.Columns.Add("ID", Type.GetType("System.String")); dtSub.Columns.Add("FirstName", Type.GetType("System.String")); dtSub.Columns.Add("LastName", Type.GetType("System.String")); dtSub.Columns.Add("Tutor", Type.GetType("System.String")); dtSub.Columns.Add("test", typeof(System.Web.UI.WebControls.Image)); //not sure if this is correct?? DataSet ds = new DataSet(); ds.Tables.Add(dtSub); Session["myds"] = ds; foreach … | |
I have three text StartTextbox and EndTextBox ,Textbox3 .Please careful textbox3(No of month). Now I want difference of start date and end date is Checked by No of Months . Here function in customvalidation protected void ValidateDuration(object sender, ServerValidateEventArgs e) { DateTime start = DateTime.Parse(StartTextBox.Text); DateTime end = DateTime.Parse(EndTextBox.Text); int … | |
Hi, I want to ask whats the best way to make a login page in my website? I added a Master page which contains a login. in my website the users registered by the Admin and I have three types of users. plz advise | |
I am hoping this is in the right spot. We have an issue that I have not been able to track down for some time, hoping someone can give me an idea or point me in the right direction. To summarize: Occasionally, a computer in our network will cause our … | |
#What do u think is wrong in this code???# ##no textbox is being affected :(## For Each ctrl As Control In Panel1.Controls If ctrl Is GetType(TextBox) Then CType(ctrl, TextBox).Text = "" End If Next | |
Please give advice on itt . also want if date invalid it should same page plus .use whatever break do not excute more code inside button click event if date is not valid protected void btn_ok_Click(object sender, EventArgs e) { //DateTime dt = new DateTime(); //dt = Convert.ToDateTime(tb_age.Text);//"2011-12-30" //TimeSpan ts … | |
Ello, Firstly let me preface this with the fact that I'm absolutely hopeless at ASP.net. I know the basics, but that's it. Right, I'm trying to fix a property site coded in ASP.net. On the property landing page, there is a small gallery of thumbnail images below a larger one … | |
All I want is to click the raddiobutton1 and have my application set Image1 borderstyle solid and bordercolour to red. Can anyone show me by code using RaddioButton1 and Image1 IDs of asp.net controls? | |
Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to … | |
Hello everybody! I'm doing my project about ASP.NET but i don't know how to Insert Data into Database. Example: [B]First name: xxxxxxx Last name: xxxxxxx[/B] [B]Button(<<<)[/B] i want to know how the code working when i click the Button the data first name and last name will go to Database. … | |
hai , I need to get the monthnames between 2 dates such as 01-04-2012 & 30-03-2013 . Can you help me to get it. Thanks in advance, sreevidya | |
Hi people I have coded a data-based website in asp.net, and want to run it on a lighttpd webserver using debian as the host os I am wondering how to set up mono and allow my Databases to be read and written to I have read through this: http://www.mono-project.com/FastCGI_Lighttpd and … ![]() | |
The user will click the book name in the combo box. **Note: The combo box is separate from gridview i.e. it is not a part of gridview.** Then the gridview for Issuing books i.e. with the columns bid,bname,aname,data of issue,date of return shoudl be** displayed.** The row that will be … | |
Hello my fellow DaniWebbers, I have a discussion topic for everyone. Winforms VS. WPF ITT: Your opinion on the two Your reason for coming to that discision Your approval/disapproval of Microsoft abandoning WinForms How this impacts your vb.net skills | |
I am trying to write an MVC application. I am rather new to MVC and I am taking the project over from someone else whom started writing it. This is what I am trying to do. I have some html documents that are located within my application. When a user … | |
Hi, all. I need a little advice on a school web project. I'm using VS2010/VB/ASP Some background: I have a listbox(LBX) and a dropdown list(DDL). Each are bound to their own AccessDataSource objects, which in turn are bound to different tables in a database. Each is successfully populated from their … | |
Guys i have a listview connected to a data source , and there theres is another listview and a button embedded in this parent listview , lets say that the datasource gets the ID of something from the data base , but ID is not displayed in the parent listview … | |
hey my project is discussion forum. i want formatting bar for writing topics description or question describe . how can i get formatting bar in asp.net | |
Hello. I wanted to make a website, but with a private section. The private section has to be accessed with a password. If I used a simple if statement to do so, will it be safe on the server side? Example: Protected Sub AccessPrivate_Click(ByVal sender As Object, ByVal e As … | |
Can anyone help me on how to create a video embed box? Like on Youtube, when you click on the share button there, there's the embed box. | |
Hi I am Trying to install visaulstudio2010 and sqlserver2008 in my lenovo laptop. I am having windows7 home premium on my machine. I have installed first sqlserver. installation done successfull but installed **Partially** means sqlserver management studio not installed. 1) Please let me know what should i install first. sqlserver2008 … | |
hi, i want to design a website where only students from a certain university can access by logging in how do i make this using dreamweaver and MY SQL as the database. for example if daniweb was only meant for people from USA and someone from africa tries to sign … | |
Hi, when i set Image1.ImageUrl = "C:\\Sunset.jpg"; not working means it is not displaying the image on the webpage. My requirement is not to display image on the webpage from where project folder exists. My requirement is to display image from "C:\\" but it is not working.... Please give me … | |
I am beginner, so please help me with these problem i am suffering I). I have a coding in ASP.net i want to display list of information from my database (MS Sql 2008 R2) to a table. My database contain: Name Email Address Phone I want this to be displayed … | |
Hi, I am getting the following error and I cannot understand why. SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. Before i try and insert the data into the database I print it out and this is what i get: **09/04/2012 00:00:00** The code below is … | |
I have a making a grid view from code behind but the error occurs My code is: string str = ConfigurationManager.ConnectionStrings["SQLConn"].ConnectionString; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { GetData(); } } public void GetData() { SqlDataSource ds = new SqlDataSource(); ds.ConnectionString = str; ds.SelectCommand = "SELECT * … | |
My .cs file is not recognizing the objects on my asp page. I m working on Visual Studio 2010, when i reference any object like TextBox1.Text it shoes error, TextBox1 is on the page and its visibility is also true, still it's conflicting :( :'( | |
| |
Hey everyone, Basically everything im trying to do is summed up in the subject line. I have a "DatePicker" control on my site, that when a date is selected, is displayed in the textbox as "April 12, 2012" or whatever the subsequent date may be. However, when I save this … |
The End.