
jaylisto
Members-
Content Count
12 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout jaylisto
-
Rank
Newbie
-
i plan to make a fill up data sheet in the web form with c# instead of infopath. id tried the report manager witch i found out in youtube tutorial and it just print all the data in my data base like an excel type. i wonder i can choose data to be print with template. example. i want to print data like it was typed in a Microsoft word but selected data was came from the data base. this product is sold to (data from database) from (data from database ) date: (from database) and donwload / print it like it was typed in the microsoft word. if a video tutori
- 1 reply
-
- asp.net printing data
- print database
-
(and 1 more)
Tagged with:
-
this is a very simple task, it insert name, address and age to the database error when the sql data base from server is use. but when data base from folder app_data is used its working. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Configuration; namespace WebApplication5 { public partial class WebForm1 : System.Web.UI.Page { SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].Conn
- 1 reply
-
- insert data in sql database
- c# insert data in database
- (and 1 more)
-
code works without problem by putting all the code inside the next button..
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
i hope. will wait for that moment. ill just keep doing this one
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
sir im about to surrender.this javascript makes me confuse. is there any easier way? please help by editing my existing code with the javascript handler. im not that expert. this is my first asp.net project.
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
how do i do that? you mean instead of c# it should be on java? sorry im just a beginer.
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
here's what i did on viewstate..... int j=0,k =12; protected void Page_Load(object sender, EventArgs e) { imagesthumbnailjaylisto(); if (!IsPostBack) { ViewState["clicks"] = j; //when the page loads the value of j is 0 by default and the value of k is 12 as declared on the top. ViewState["clicks2"] = k; } } protected void Button1_Click(object sender, EventArgs e) { if (ViewState["clicks"] != null && ViewState["clicks2"] != null)
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
yes it does work. thank you for your help.but when i implement it in the next button in my gallery issues keeps on coming. i guest html destroys every variable i made every time i pressed "next button" that what makes it harder. in the static variable, the next button needs to press twice before the next set of thumbnails. i tried season state, static and viewstate i feel so dumb right now
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
dude! i cant solve it. this portion will solve my problem on the link next button of my gallery. i dont know if i will start a new topic for this one. can you please help me every time i press the button it should count the number of clicked. i tried using static variable, yes it worked. but every time i re run the code the static will continue to its last value. public partial class WebForm1 : System.Web.UI.Page { static int count = 0; protected void Button1_Click(object sender, EventArgs e) { count += 1; Response.Write(count); }
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
i will definetly search for that global/static/session. by the way. wow! you are amazing sir. i really upriciate your code. it really works. limitting 10 photos on the gallerynow the button "next" without redirecting the page will be my next problem.after pressing the button next , im planning to add numbers in the for loop portion like this one. for (i=10 ; ((i<pixpaths.Count)&&(i<20)) ; i++) is this possible? i will post my code later after numerous attempt. thank you very much.
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
ok ill just put all the codes here. using System;using System.Collections.Generic;using System.Linq; using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.IO;namespace WebApplication5{public partial class WebForm1 : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){jayvalue();}}Response.Redirect("~/WebForm1.aspx");}private void jayvalue(){foreach (string strFileName in Directory.GetFiles(Server.MapPath("~/pictures/loveones/"))) // "this portion is the loop where it loads all the content of all images in the folder pictures/lov
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)
-
been searching for the answer for a long time i have this working code for a simple photo gallery for viewing photos when the images are too many it will take a long time to load all the imagebuttons i want to limit the imagebutton's to load only 10 photos, i will just put another next button for the next 10 photos and so on. this foreach loop portion is where it loads all the pictures inside the folder named "loveones" ImageButton imageButton = new ImageButton();FileInfo fileInfo = new FileInfo(strFileName);imageButton.ImageUrl = "~/pictures/loveones/" + fileInfo.Name;imageBu
- 17 replies
-
- asp.net
- photo gallery
- (and 5 more)