Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
8
Posts with Downvotes
6
Downvoting Members
3
1 Commented Post
~16.9K People Reached
Favorite Tags

35 Posted Topics

Member Avatar for Shantanu88d

Hi. Make sure you type "BindGrid()" in each and every function of either deleting, inserting or updating. [COLOR="red"]Note: GridView = mydg[/COLOR] [CODE] Using System.Data.SqlClient; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindGrid(); //user defined } } public void BindGrid() { SqlConnection sqlcon = new SqlConnection("Server=DEEPZ; uid=sa; pwd= …

Member Avatar for naimerkallis
0
6K
Member Avatar for Hakoo

hi Hakoo, try this:- [CODE] <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .modalBackground { background-color: Gray; filter: alpha(opacity=80); opacity: 0.8; z-index: 10000; } </style> </head> <body> <form id="form1" runat="server"> <asp:ToolkitScriptManager ID="ScriptManager1" runat="server"> </asp:ToolkitScriptManager> <div> <asp:GridView runat="server" ID="gvdetails" DataKeyNames="UserId" AutoGenerateColumns="false"> <RowStyle BackColor="#EFF3FB" /> <FooterStyle …

Member Avatar for sunnivasa
0
611
Member Avatar for pinkygirl

Hi, I want to know how kernal communicates with the Linux operating system in terms of it's roles such as Interrupt Handler, Scheduler, Manager and Supervisor. Kindly assist. Thanks.

Member Avatar for capton
0
310
Member Avatar for pinkygirl

I have a problem in my laptop. I wanted to reinstalled windows 7 but unfortunately it couldn't complete. It showed a blue screen for one second then it restarted. So I went to recovery option from the windows 7 setup, It detected my uncomplete installation, but it couldn't continue the …

Member Avatar for caperjack
0
224
Member Avatar for pinkygirl
Member Avatar for VinayRok

Hi, Try this.. [CODE] protected void MyGrid_RowDataBound(object sender, GridViewRowEventArgs e) { foreach (TableCell tc in e.Row.Cells) { tc.Attributes["style"] = "border-color: #c3cecc"; } } [/CODE]

Member Avatar for symeramon
0
2K
Member Avatar for pinkygirl

This is my code to hash [CODE]class hashing { private static $algo='$2a'; private static $cost='$10'; public static function unique_salt() { return substr(sha1(mt_rand()),0,22); } function hash($password) { return crypt($password,self::$algo.self::$cost.'$'.self::unique_salt()); } public static function check_password($hash,$password) { $full_salt=substr($hash,0,29); $new_hash=crypt($password,$full_salt); return ($hash==$new_hash); } }[/CODE] This is my login page [CODE]require("hashing.php"); $password=hashing::hash($_POST['txtPassword']); $checkPassword=mysql_query("SELECT * from …

Member Avatar for diafol
0
288
Member Avatar for pinkygirl

I want to upload images that will be saved in a folder. That folder is inside my website folder. eg: mywebsite(website folder). myimage(image folder). And the path of image should be saved in mysql. I tried the following but it is giving error "path not found." This is my path:- …

Member Avatar for pinkygirl
0
122
Member Avatar for kieky

Hi, Yes you can. Follow these steps:- 1) In GridView, select smart tag. 2) Click Edit columns 3) select ImageField and click Add 4) click "Convert this field into template field" and click OK. 5) After step 4, you'll see image control in the GridView 6) Click smart tag and …

Member Avatar for nik11
0
276
Member Avatar for umeshMCA

You have to download the Ajax toolkit in order to use it. However, by default when you create a new ASP.NET website, You'll see Ajax Extension in Toolbox.

Member Avatar for vishalrane
0
99
Member Avatar for pinkygirl

Hey, please guide me with codes. It's very urgent. I want the display of comments to appear like facebook. Also, my friends and I can comment on status as many times as needed. And number of comments should also appear. Thanks.

Member Avatar for vishalrane
-2
79
Member Avatar for karthik.net87

Make the TreeView dynamic (That is, connect it to the database). Sorry I forgot the code. I'll get back to you asap. It's something like this:- [CODE]if(TreeView1.SelectedNode[0])[/CODE]

Member Avatar for pinkygirl
-3
75
Member Avatar for apanimesh061

Hey.. Open Control Panel, click Administrative tools. Select IIS Manager. Check the components you need then click OK. To open IIS Manager:- Go to Run, type inetmgr.

Member Avatar for pinkygirl
0
153
Member Avatar for pinkygirl

Hey, I'm currently working on a social network website in ASP.NET, C#. I want to know the steps to create a chat application. Kindly guide me, Thanks.

Member Avatar for pinkygirl
0
83
Member Avatar for pinkygirl

hi. I'm completely blank in this. I don't know how to create a simple skin theme and linking it to my webpages. I need your help. Thanks..

Member Avatar for pinkygirl
0
97
Member Avatar for pinkygirl

Hi, I need to know more about oracle database. 1)Introduction. 2)Importance. 3)Advantages and disadvantages. 4)Effects. 5)Diagrams. 6)Features.

Member Avatar for pinkygirl
0
116
Member Avatar for honey61399

Hey, try this one... [CODE] <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" style="width: 307px; height: 316px"> <param name="movie" value="anime1.swf" /> <param name="quality" value="high" /> <embed src="anime1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="200" height="300"></embed> </object> [/CODE]

Member Avatar for honey61399
0
279
Member Avatar for miwa1
Member Avatar for waqar100
Member Avatar for eileenc87

hi, try this code:- [CODE] public void mydgDelete(object sender, DataGridCommandEventArgs e) { mydg.Columns[0].HeaderText = "Delete"; string del = "delete from Student where StudentID=@StudentID"; SqlCommand cmddel = new SqlCommand(del, sqlcon); cmddel.Parameters.Add(new SqlParameter("@StudentID", SqlDbType.Int)); cmddel.Parameters["@StudentID"].Value = mydg.DataKeys[(int)e.Item.ItemIndex]; sqlcon.Open(); try { cmddel.ExecuteNonQuery(); Response.Write("<font color=blue> Record(s) Deleted! </font>"); } catch (SqlException) { Response.Write("<font color=red> …

Member Avatar for crishlay
0
293
Member Avatar for vanpersie
Member Avatar for YMCMb

Try this. Hope it helps [CODE] public void edited(object sender, DataGridCommandEventArgs e) { dg.Columns[0].HeaderText = "Edit"; dg.EditItemIndex = (int)e.Item.ItemIndex; BindGrid(); } public void cancelled(object sender, DataGridCommandEventArgs e) { dg.Columns[0].HeaderText = "Cancel"; dg.EditItemIndex = -1; BindGrid(); } public void updated(object sender, DataGridCommandEventArgs e) { sqlcon.Open(); dg.Columns[0].HeaderText = "Update"; string myupdate = …

Member Avatar for pinkygirl
0
1K
Member Avatar for rbeach1955

To save values selected from a DropDownList, you must use SelectedItem. This is how you use it:- [CODE] string insertCommand="insert into TableName values ('"+BADGE.SelectedItem.Text.ToString()+"')"; SqlCommand commandObject=new SqlCommand(insertCommand, connectionObject); commandObject.ExecuteNonQuery(); [/CODE] Don't worry, we are all learners.

Member Avatar for vgulavni
0
114
Member Avatar for pinkygirl

Hello. This demo shows how to upload multiple image files, saving them in "Image" folder and displaying them all. To do this, create a folder named "Image" in your solution explorer. I hope you like it :)

0
684
Member Avatar for Mishalkk09

click TextBox, go to properties. Make the following changes:- [CODE] AutoPostBack=true EnableViewState=true [/CODE] Hope it helps.

Member Avatar for prashantchalise
0
414
Member Avatar for pinkygirl

Im getting this error:- The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.C:\Users\User\Documents\Visual Studio 2005\deepali\mywork\Animation_Control.aspx can anyone please help me solve it?

Member Avatar for pinkygirl
0
217
Member Avatar for bluem1

I don't know VB so I'm tying in C#. try using [B]DataGrid contro[/B]l, It's easier. [CODE] //In Source <asp:DataGrid ID="myd" runat="server" DataKeyField="StudentID" onDeleteCommand="delete"> <Columns> <asp:ButtonColumn ButtonType="PushButton" Text="Delete"/> </Columns> //In Code Behind Page Model SqlConnection sqlcon = new SqlConnection("Server=DEEPZ; uid=sa; pwd= ; database=student"); protected void Page_Load(object sender, EventArgs e) { if …

Member Avatar for pinkygirl
0
955
Member Avatar for pinkygirl

Hello! 1) I have no idea how to use Session objects, especially when it has to remember the Session of the logged user. When the user clicks logout, his session should be removed until the next time he logs in. 2) Also, how to validate the user in such a …

Member Avatar for pinkygirl
0
107
Member Avatar for low1988

I have the codes written in my notebook. It doesn't include JavaScript. Is it okay if I explain using C# codes?

Member Avatar for pinkygirl
0
105
Member Avatar for pinkygirl

Can anyone help me solve this error:- Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

Member Avatar for pinkygirl
0
103
Member Avatar for malashukla
Member Avatar for pinkygirl
0
68
Member Avatar for xanawa

Add .bmp images in your solution explorer by:- Right click --> Add Existing Item. Double click image button control, In ImageURL select the .bmp file and run the application. This must work. I tried it.

Member Avatar for xanawa
0
78
Member Avatar for pinkygirl

Hello, How to save values of each and every controls to SQL database using CreateUserWizard?

0
66
Member Avatar for pinkygirl

I have a multiline textBox control called "Post." I also have a singleline textBox called "Comment" and a Button called "btnPost." Whatever text I type in "Comment," It should display in "Post." Further more, the texts should be saved permanently in "Comment." And also, the texts shouldn't be overrided after …

Member Avatar for pinkygirl
0
77
Member Avatar for pinkygirl

Please help me use this LookAndFeel in java. I have downloaded quauqa-5.4.1.zip I tried the following, but it's giving me exception in thread:- package ch.randelshofer.quaqua; class Account extends JFrame { @SuppressWarnings("unchecked") public static void main (String [] fisd) { Account acc=new Account(); acc.setVisible(true); acc.setSize(900,600); java.awt.EventQueue.invokeLater(new Runnable() { public void run() …

Member Avatar for masijade
0
279

The End.