Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~103.07K People Reached
About Me

i, me and myself mayn't rock but obviously donot sink....

Favorite Tags
php x 98
c x 19
unix x 16
c# x 9

83 Posted Topics

Member Avatar for ZenMartian

[QUOTE=ZenMartian;531944]Hi Again, Walkere... I've got another situation I'm trying to solve that I'm betting some cool php could really help me pull this off. Okay, So far I've got a nice web-to-sms form working quite well which uses php. One inputs their 10-digit mobile number, selects their carrier (from a …

Member Avatar for rahulyadav1916
0
15K
Member Avatar for SushilKumar

check out [url]http://stackoverflow.com/questions/3713/call-asp-net-function-from-javascript[/url]

Member Avatar for einbump
0
6K
Member Avatar for lordx78

[QUOTE=lordx78;557648]auth.php [code=php] <?php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST['username']; $_SESSION['password']=$_POST['password']; } // query for a user/pass match $result = mysql_query("SELECT * FROM users WHERE username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted …

Member Avatar for markashworth
0
4K
Member Avatar for carobee

Hi I have created a code to create excel macro in C#.But while trying to create a new VBA code module i am getting a error.The code that i have used is [code] module = excelWorkbook.VBProject.VBComponents.Add(VBIDE.vbext_ComponentType.vbext_ct_StdModule); [/code] this part of the code is throwing an error. Error 1 The best …

Member Avatar for comsdev
0
1K
Member Avatar for rohitmanhas_12

Add an event handler [code] OnSelectedIndexChanged="Check" [/code] Now in the Check function .Add this [Code] for(i=0;i<=CheckBoxList1.Items.Count-1;i++) { if(CheckBoxList1.Items[i].Selected)) //insert into database } [/code]

Member Avatar for rohitmanhas_12
0
201
Member Avatar for OmniX

try this [code=php] if($_POST['delete']) { ur code } ?> <META HTTP-EQUIV="Refresh" CONTENT="0; URL=urpage.php"> [/code]

Member Avatar for ax8l
0
555
Member Avatar for carobee

What do i need to install silverlight? i have Visual studio 2008.Also how can i check whether visual studio 2008 sp1 is installed or not?

Member Avatar for Ramesh S
0
76
Member Avatar for carobee

Hi, I have created a temporary @table and while inserting ,i am using dynamic sql.But this is not getting executed and throws an error that "EXECUTE cannot be used as a source when inserting into a table variable" i am using SQLServer2005. Dont know where i am going wrong [code] …

Member Avatar for jbisono
0
2K
Member Avatar for carobee

hi i want to make an UI that appears like a chessboard and user can enter text in any of the boxes.later on i should be able to calculate the postion where user has entered the entry. which control should i use?I am creating my application in asp.net using visual …

0
70
Member Avatar for carobee

How to parse an xml from javascript from code beside page? i have tried [code] var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.onreadystatechange = Readxml; xmlDoc.load("abc.xml"); [/code] but the error is that the xml is not loaded? i am using visual studio 2008.thnks in advance

Member Avatar for sahmed_12
0
111
Member Avatar for fawadkhalil

on button click write this piece of code [code] CheckBox chk; ArrayList CheckedItems = new ArrayList(); foreach (GridViewRow row in GrdViewTableName.Rows) { //GridViewTableName is my gridview name chk = (CheckBox)row.FindControl("chkComplete"); //chkComplete is the checkbox id i++; if (chk.Checked) { CheckedItems.Add(i); } } [/code]

Member Avatar for fawadkhalil
0
438
Member Avatar for dfs3000my
Member Avatar for love_dude1984

Try this [Code] string str = TextBox1.Text.Trim(); for (int i = 0; i < str.Length; i++) { if (!str[i].Equals(Convert.ToChar(32))) { newList.Add(str[i]); } } [/Code]

Member Avatar for carobee
0
166
Member Avatar for imughal

try this [Code] Button1.Attributes.Add("onclick", "javascript:alert('Are you sure');"); [/Code]

Member Avatar for carobee
0
103
Member Avatar for santhya123
Member Avatar for ricksvoid
Member Avatar for ricksvoid
0
832
Member Avatar for Anusha Rose

for pop up in asp.net [code] %> <SCRIPT LANGUAGE="Javascript"> alert("<% = strMessageToShow %>") </SCRIPT> <% [/code]

Member Avatar for carobee
0
76
Member Avatar for abeldennis

nice article for beginners [url]http://www.w3schools.com/webservices/default.asp[/url]

Member Avatar for carobee
0
90
Member Avatar for carobee

While creating a DTS package i want to include a Stored Procedure with input parameters? Can any help in this.

Member Avatar for carobee
0
71
Member Avatar for phoenix_dwarf
Member Avatar for Rofling Waffles

how did u make it look into buttons.If you have used template,then you can defined the even in the defination of item template

Member Avatar for Ramesh S
0
116
Member Avatar for czekonq
Member Avatar for sakhi kul

[QUOTE=sakhi kul;1006305]Hi, Actually i set calender on another form & retrive date via querystring . It appears in textbox but It converts into string. I want to again convert it into Date , so how to check that. b'coz further i want to check data for validation.. plz help me …

Member Avatar for sakhi kul
0
121
Member Avatar for Alexpap
Member Avatar for squidder11

Loop through the values and you can use [code] int num=Convert.ToInt32(Convert.ToDecimal(value)); [/code] once the number is extracted fill the gridview with this value [code] Convert.ToString(num); [/code]

Member Avatar for carobee
0
152
Member Avatar for sakhi kul
Member Avatar for sknake
0
95
Member Avatar for sandeep_1987

Below is the code to attach text boxes values to datagrid.Initially i have made the gridview visible=false.Include in your submit button click event [code] DataTable dt = new DataTable(); DataColumn ColName = new DataColumn("Name"); DataColumn ColRoll = new DataColumn("Roll"); DataColumn ColMarks = new DataColumn("Marks"); dt.Columns.AddRange(new DataColumn[] { ColName, ColRoll, ColMarks …

Member Avatar for carobee
0
142
Member Avatar for carobee
Member Avatar for carobee

How do i update a database from dataset. [code]SqlDataAdapter.Update()[/code] is not working

Member Avatar for ggl0rd
0
223
Member Avatar for tryongliph

[QUOTE=nccsbim071;957637]Do you want selected item in the dropdownlist to be displayed in the gridview or fetch some item from a data source based on the selected item in the dropdownlist and display it in the gridview.[/QUOTE] can you answer that

Member Avatar for tryongliph
0
297
Member Avatar for sandeep_1987

u need to bind the below properties [code] DropDownLanguages.DataTextField = DropDownLanguages.DataValueField = [/code]

Member Avatar for sknake
0
87
Member Avatar for k.vijayakumar
Member Avatar for carobee
0
133
Member Avatar for motters
Member Avatar for coollife

if id is your primary key then delete command would not let the identity to start from where you have left.you have to use 'Insert Identity On'

Member Avatar for carobee
0
117
Member Avatar for chathuD

you can open an sql connection and then use "Insert" commands to add it to database

Member Avatar for sknake
0
174
Member Avatar for sonia sardana
Member Avatar for carobee
0
134
Member Avatar for ashkan3030

transfer the session contents to an array and then populate the gridview from array

Member Avatar for kvprajapati
0
327
Member Avatar for cousar sultana

Do you want to update a particular row or the entire rows of the gridview?Do you want to update on the click of any button ?

Member Avatar for Ramesh S
-1
54
Member Avatar for carobee

Hi, I am thinking on developing some utility in .Net. But am not able to think of any specific.Any ideas for that?Please help Thanks in advance

Member Avatar for carobee
0
157
Member Avatar for nikichu
Member Avatar for nikichu
0
267
Member Avatar for Traicey

why dont you add check boxes in the datagrid? for the rows whose checkboxes are checked, highlight the row

Member Avatar for nicky.23in
0
179
Member Avatar for sonia sardana

[QUOTE=sonia sardana;834043]I want to insert the image into database & Retrive the data back & display into DataGridView.. Foll is the code the inserts the image data into Databse-- [code] protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.PostedFile.FileName == null || FileUpload1.PostedFile.FileName == "") { lblErrors.Text = "Please Select …

Member Avatar for rmostafa
0
330
Member Avatar for functionsys

have you started coding? if not then start it, if you get stuck then help is always there

Member Avatar for functionsys
0
127
Member Avatar for brightline

you can use cookies and apply validation for the event if cookies are set.whats the code?

Member Avatar for P.K.Chaudhary
0
101
Member Avatar for niketh90
Member Avatar for mangesh5588
Member Avatar for johnny.g

you can take the resulr in a reader then populate the reader contents in arraylist. then populate the values form arraylist. i have coded it in C# [code] SqlCommand m_Command=new SqlCommand(CommandText,m_Connection); m_Connection.Open(); SqlDataReader Reader = m_Command.ExecuteReader(); while(Reader.Read()){ int j=0; object[]values=new object[Reader.FieldCount]; Reader.GetValues(values); rowList.Add(values[i]); j++; } Reader.Close(); [/code] on button click …

Member Avatar for P.K.Chaudhary
0
189
Member Avatar for clownshoes2009
Member Avatar for Slovig

on click button postback occurs.what i think is since postback occurs the code runs from page load. so all the initial values of the text boxes are taken. try debugging the code. if so is the case you have to take the new values in button click event

Member Avatar for P.K.Chaudhary
0
194
Member Avatar for mangesh5588

[QUOTE=mangesh5588;836142]I have 1 data gridview. in that first is ID column . for that i assign a auto index number with sql server (isidentiyt). the next colomn is response id, for this column also i want autonumber id like 1,2,3,4..... . i see we cant assign to index identity with …

Member Avatar for srikanthkadem
0
321

The End.