No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
20 Posted Topics
I need help i got a text file(txt) with values separated with comma like this "0C060000","SKILL_CH_WATER_CURE_C_05","Force Cure - Condiion",1000,2100,63,359 "0D060000","SKILL_CH_WATER_CURE_C_06","Force Cure - Condiion",1000,2100,63,398 "0E060000","SKILL_CH_WATER_HEAL_A_02","Heal - Medical Hand",1000,3000,424,85 array list box list Box no where txtbox, txtbox, no where i want to get each data and display in the list box … | |
My java script of validation is not working don't know why here is the code Header php file [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="c.css" /> <title>simple document</title> <script src="validate.js;cart.js"> </script> <script type=" text/javascript"> <?php session_start(); ?> </script> … ![]() | |
Guys i am trying to create a shopping cart in php + mysql. I have a page with product and one input button for each one of them. I want that when ever the product button is clicked it stores the data of product and amount in the database "cart". … | |
I have created a register page which send the data of user from that page to my query processing page. [b]Problem is some of my database table field takes integer value but through post i get only string values i try to change them through type cast but not good … | |
I have a table in it i placed a lable which show the route map problem is that if data is two long it go out side the table cell as shown below. [IMG]http://i35.tinypic.com/2nlcwzs.jpg[/IMG] code of cell here [code]</tr> <tr> <td colspan="3"> <asp:Label ID="div1" runat="server" Width="100%"></asp:Label> <%--<div id="div1" runat="server" style=" … | |
I created my site in resolution of 1024 x 764 in wide screen but in other resolution and screen it is not fitting properly please help me how to make it fit in any resolution and screen size | |
Re: Why storing image in database store in application and store it path in the database | |
Re: Can you show the code then i might able to usderstand the problem better and mention in it what you want to do | |
Re: Just Create a session put the user name in it access in your master page and use it where ever you want to use that's all. eg [CODE]Session["FirstName"] = FirstNameTextBox.Text; [/CODE] to access [CODE]String str=Session["FirstName"].ToString();[/CODE] that's all you need to do. | |
I created my custom login module for that in login page i write this code[CODE]protected void Button1_Click(object sender, EventArgs e) { string user = TextBox1.Text.Trim(), pass = TextBox2.Text.Trim(); SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\my.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); SqlCommand cmd = new SqlCommand("Select * from Login", con); con.Open(); SqlDataReader dr = … | |
[img]http://i37.tinypic.com/hv6nvn.jpg[/img] The image is stored in Image folder in the main directory problem is my GIcon is not able to access the image the path is coming from database ex="~\\Image\\gf.gif". What i am doing wrong please help me. [CODE]GIcon Icon = new GIcon(); Icon.image = dr4["Icon_type"].ToString(); Icon.iconSize = new GSize(12, … | |
Thank you, everyone who helped in solving my queries as a result today after 2 1/2 month my major project is complete. :icon_smile: | |
I just want that to display the entire content of site in the tree view so that admin can navigate anywhere he want's to. and to divide the page in two part one where tree view is and other where navigation is to display. just one thing if you say … | |
I want to store the stack trace of exception in a cookie or in a session to email to the admin about the error through bug reporting system created separately. I tried this but it do not store it [CODE]catch (Exception ex) { HttpCookie m = new HttpCookie("exe"); m.Values["e"] = … | |
i have created a page where one can edit previous message or add new. for that i created a cookie and store the primary key value and process over one want to edit [CODE]protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { object ob = Session["red"]; if (ob != … | |
I performed the following code to retrieve the path from database and show image [CODE]protected void Button2_Click(object sender, EventArgs e) { string t = TextBox2.Text.Trim(); SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=D:\\Anshul\\College site\\App_Data\\afset.mdf;Integrated Security=True;User Instance=True"); SqlCommand cmd = new SqlCommand("Select dmc from Semr Where Rollno='" + t + "'", con); con.Open(); … | |
if i used this [CODE]<authentication mode="Forms"> <forms loginUrl="Default.aspx" timeout="90" /> </authentication> <authorization> <deny users="?"/> </authorization>[/CODE] so that unauthorized user do not access the content then the Default page do not show any images in the login page i have to use this in order to do so [CODE]<authentication mode="Forms"> <forms … | |
I want to declare a integer variable in global scope but do not want to that its value become 0 every time the page is post-back [CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; … | |
How to know what is last index number in a drop down list if it is populated by using database?? | |
I have created checkbox as follow [CODE]System.Web.UI.WebControls.CheckBox ch = new System.Web.UI.WebControls.CheckBox(); ch.Checked = true; tc.Controls.Add(ch); ch.CheckedChanged += new EventHandler(ch_CheckedChanged);//this is my eventhandler[/CODE] I created a event handler as [CODE]protected void ch_CheckedChanged(object o, EventArgs e) { string s = Response.Cookies["red"]["re"]; if (v == "true")//i want the state of respective checkbox here … |
The End.