|
hi guys...
Thanx for ur help the previous time. I have a query again, I need to make the text box that appears at edit command in a grid , a Multiline text box.
Thanx again..
|
|
|
|
|
Make the column a template one and change than change the textbox to multiline.
|
|
|
|
|
<asp:TemplateColumn>
<ItemTemplate>
<asp:TextBox id="TextBox2" runat="server" TextMode="MultiLine"></asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
=postmaster
www.programmingknowledge.com/
|
|
|
|
|
When i am trying to update values in dropdownlist programmatically,and if more taht one value in the list as same,all the values should be updated.my code is
strUpdate = "Update Division Set Divi_name='" & nameBox.Text & "' where Divi_name='" & DivList.SelectedItem.Text & "' "
cmdUpdate = New SqlCommand(strUpdate, dbConn)
cmdUpdate.ExecuteNonQuery()
Lblmess.Text = "Record Updated"
DivList.SelectedItem.Text = nameBox.Text
But when i run the webpage it is updating only one value,not all the values.
If i click on refresh button,it doesnt give any change in the list,but records are updated in the database.
how to solve,urgent
kissy
|
|
|
|
|
|
hi all..i need code for conversion e.g if we give input in 1 language(english) we should get output in another language(hindi)
thanq.....bye
|
|
|
|
|
There is no such conversion. It's called translation, and you don't only need code for it, you also need a vast database of words and phrases and their translations.
---
b { font-weight: normal; }
|
|
|
|
|
thank you so much, so can i get the code for that..maintaining databases n their connectivity i ll look after that..please can you judge me how to approach this task
|
|
|
|
|
Hi to all programmers!
Can anyone of you suggest on the best approach in interfacing a scanner to a web application. I am using a Canon 5010c model that is capable of scanning multi-page. I tried a TWAIN library from this site but it cannot detect the driver of the scanner.
And also convert the scanned image into pdf form.
VTY,
allan
-- modified at 23:21 Friday 25th August, 2006
|
|
|
|
|
Is there a way to allign textbox and Labels in ASP.NET 2.0.
Tried to allign through designer but it does not seem to work well. Tried
to change using in code but that does not seem to work well.
Is there a way to say where to keep the text box and labels correctly( like x ,y coordinates
or any other such thing
Thanks
Kal
|
|
|
|
|
Is there a way to fetch a web page and store it in an object so that I can manipulate the information and then post it inside my own page?
|
|
|
|
|
|
|
Is it possible to use an external stylesheet to define styles for a table contained within a data control such as a datalist? Can't figure this out to save my life....
If I define the style inline, it works...
<table style="font: 8pt Verdana">
If I reference the CSS class, it does not...
<table class="DocQueue">
What am I missing? Or is this not possible?
|
|
|
|
|
I see no reason why this shouldn't be possible.
Have you verified that the class attribute is present in the finished html code?
Do you have the styles in a css file? Have you made a link to the css file?
What does your style look like? Have you remembered the period before the class name?
---
b { font-weight: normal; }
|
|
|
|
|
Seems to work if I apply a CssClass to the control itself...So all appears well.
|
|
|
|
|
I guess the table is in a template of the datalist?
You can maybe try:
ASP.net reads a css style as "CssClass" and not "Css".
Or mabye create a theme with a stylesheet for that theme?
|
|
|
|
|
Hi,
I am struggling to add a dataset to the database. So this is what happens. I fill a dataset with data from a database table. Then I want to use that info in some functionality I need to do. Here the client can use some of that data in the dataset, and once he is done, I want to submit that dataset back to the database, but a different table.
My problem is, how do I add a dataset with about 500 - 600 rows to the database at once. One reason why I want to use this method is, is that I only have to do the select and insert statement once.
Any other ideas also welcome.
|
|
|
|
|
Save the dataset xml string and store that string in the database table field, then retrive it and again create the dataset, you can use readxml and write xml methods of dataset for this.
Ram
|
|
|
|
|
Ramasubramaniam wrote: Save the dataset xml string and store that string in the database table field
Ever heard about relational databases?
only two letters away from being an asset
|
|
|
|
|
Set the InsertCommand and UpdateCommand to store your records in the appropriate table then call Update on the DataAdapter.Update
only two letters away from being an asset
|
|
|
|
|
Here is my dilima. I am kind of new to programming in asp.net, so bear with me. I am building a simple insertion script in asp.net and I am a little confused on how to properly carry out this coding.
I have a MS SQL Database
I have two tables
tblAccount
tblDirectory
In the tblAccount, the "accountID" is the primary key
It is also a foreign key in the tblDirectory
I want to be able to create accounts in the tblAccount table. In the asp.net application, I want the user to be able to login using the information they registered in the account table, and then enter data in the tblDirectory table and that information still be attached to the "accountID" field in the tblAccount table.
This is for a simple directory application. In otherwords, I register for an account, and then I can login and see the details of my account. I have two businesses that I want to enter into the database. So I want to be able to come in, enter my first business and when that is loaded, I can come back and enter my second business.
I think this is a one-to-many relationship in the database. Is there a tutorial on how to accomplish this using asp.net? I want to make sure that when the person logs in, only their information comes up and they can enter their businesses in the tblDirectory database.
Thanks in advance for your help.
The Black Lotus
|
|
|
|
|
Another question, if I create an account in the tblAccount table, will it automatically create an entry in the tblDirectory table, just with all of the other fields empty with the acception of the matching accountID table?
|
|
|
|
|
No, in SQL zero is many too :p
|
|
|
|
|