26 Posted Topics
No clarity in your question. In which way do u want to retrieve data from database. If you know how to retrieve data from database as a table. Then simply write the below code. listbox.DataSource = data;//Your data table from database listbox.DataTextField = "FieldName";//The name of the column in the …
With-out knowing the connection string of the server it is impossible to retrive the table. If the server machine is created by you(owned by you) then you can create a page in-order to get the records from the table you want.
Without saying what the problem is? How can u expect an answer from someone.
Use ajax masking to do this ......
Unable to figure out your question lol...
Simply use web service or wcf service to access your content not only from different forms but also from different applications.
HI, I have a radio button list item. I want to add a new item to it using javascript. Could u please help mee. My radio button list already consists of three items names r1, r2,r3 which is an asp control. But now u want to add a new item …
HI, I have a DataSet which returns three rows say A,B,C. Data will be in the Following format. A B C 1 5 9 2 6 10 3 7 11 4 8 12 Now i want to convert this into xml in the below mentioned format.. [code=xml] <chart showValues='0' caption='Cost …
Can any one say how can i make the first letter of a asp label(Hello World==> {{Change H color to different color in Hello}}) to different color using css class
Hi, I was in a urgency of some requirement that was given to me.. I want to access my mater page control in my child page can any one give some assistance regarding this..
Hi, I want to get live cricket score to be shown in my web site. Its very urgent. Can any one say how can I get live cricket score to my web page. Im using c# as my platform in vs2010. Please help. Any help regarding, is accepted. Thanks in …
can you please show ur code..
Could you please explain from where do u want to specify the path. If you want to specify them at particular instance like textbox then u can give that textbox id in the place of ur path in the above code.
Hi friends i was in a need of using reorderlist from ajax family. I tried a lot and was unable to do anything with please help me. Munnazz
I think this would help u. [CODE] GridViewRow grdRow = gdrView.Rows[e.RowIndex]; TextBox txtName = (TextBox)gdrView.Rows[e.RowIndex].FindControl("FirstName");[/CODE]
Hi liam, Here there is noprob in ur code. But the record is deleted in ur database but not in your listbox. You have two options: 1. Delete the selected record from the listbox too. 2. Recall and assign the items from database to listbox.
HI forensic, I think it is better to use an update command to update your dataset. Example: UPDATE (table name) SET (column name)= 1, WHERE (primary key)= (primarykeyid)
Hi ajinya, Well, you can store the datakey of the selected row and then delete the row from the table too using that datakey.
Are u using any datetime in your project.
The syntax for if else is [CODE] if (Condition) { txtName.Text="ravi Varma"; } else { txtName.Text="ravi kiran varma"; }[/CODE]
Hi friends, [B] Is there any chance to sort error messages in the validation summary.[/B] In design i have placed the controls Nick name, pet name. In validaion summary error messages i am gettin the error messages as [I][B]Please enter nick name and please enter pet name[/B][/I]in bulletein form. But …
You can do this by making a loop to the list of the items in the listbox. And for each loop you can save the data by taking listitem[0].text [B] bnrAndorHunsFormulaWorksheet.Write(listitem[0].text);[/B] Munna(i's).
I Think its better to add the columns when initializing the datagrid so that whatever the columns u want? U can make it enabled and disabled as all the products that are known to u before only
U can do this by initializing all the grid columns in the database and sending them through the cs page.... ravi kiran varma. k
I am unable to print pdf file using iframe in javascript. I used [B]windows.forms['MyIframeId"].focus(); windows.forms['MyIframeId"].print();[/B] But i was unable to print the iframe I wanted to select! Instead it was printing the whole page except the iframe I selected. I am using IE as my browsing tool. Could any one …
The End.