No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i, me and myself mayn't rock but obviously donot sink....
83 Posted Topics
Re: [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 … | |
Re: check out [url]http://stackoverflow.com/questions/3713/call-asp-net-function-from-javascript[/url] | |
Re: [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 … | |
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 … | |
Re: 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] | |
Re: try this [code=php] if($_POST['delete']) { ur code } ?> <META HTTP-EQUIV="Refresh" CONTENT="0; URL=urpage.php"> [/code] | |
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? | |
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] … | |
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 … | |
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 | |
Re: 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] | |
Re: Are the columns Total and grades created through template? | |
Re: 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] | |
Re: try this [Code] Button1.Attributes.Add("onclick", "javascript:alert('Are you sure');"); [/Code] | |
Re: Can you elaborate? | |
Re: Have you specified [code] DropDownList1.DataTextField = ""; DropDownList1.DataValueField=""; [/code] | |
Re: for pop up in asp.net [code] %> <SCRIPT LANGUAGE="Javascript"> alert("<% = strMessageToShow %>") </SCRIPT> <% [/code] | |
Re: nice article for beginners [url]http://www.w3schools.com/webservices/default.asp[/url] | |
While creating a DTS package i want to include a Stored Procedure with input parameters? Can any help in this. | |
Re: you can use item template. | |
Re: 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 | |
| |
Re: [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 … | |
Re: 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] | |
Re: Can you elaborate your problem as to exactly what you are trying to do | |
Re: 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 … | |
How to encrypt and decrypt an existing column ? | |
How do i update a database from dataset. [code]SqlDataAdapter.Update()[/code] is not working | |
Re: [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 | |
Re: u need to bind the below properties [code] DropDownLanguages.DataTextField = DropDownLanguages.DataValueField = [/code] | |
| |
Re: is the intellisense showing the two text boxes? | |
Re: 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' | |
Re: you can open an sql connection and then use "Insert" commands to add it to database | |
Re: [url]http://www.codeproject.com/KB/HTML/topten.aspx[/url] i hope it helps | |
Re: transfer the session contents to an array and then populate the gridview from array | |
Re: 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 ? | |
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 | |
Re: try debugging the code.perhaps the empty values are passed in the query | |
Re: why dont you add check boxes in the datagrid? for the rows whose checkboxes are checked, highlight the row | |
Re: [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 … | |
Re: have you started coding? if not then start it, if you get stuck then help is always there | |
Re: you can use cookies and apply validation for the event if cookies are set.whats the code? | |
| |
Re: chck this [url]http://www.daniweb.com/forums/thread184369.html[/url] | |
Re: 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 … | |
Re: 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 | |
Re: [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 … |
The End.