Bind txt Box to database [modified]
-
Huh ? :omg: :wtf:
Manish79 wrote:
Everye element have diffrent Values for that I am using 150 TxtBox
And all these elements must be shown to the user?? Maybe make use of a different control instead of TextBoxes... Kind regards,
The only programmers that are better C# programmers, are those who look like this -> :bob:
:java: Programm3r My Blog: ^_^
-
Dear Thanks for ur reply. I have one Table Name Element.in this I Have to insert 32element.Everye element have diffrent Values for that I am using 150 TxtBox. Thanks
Your question is not clear at all. Are the lengths of the table column 32 and the textbox 150 characters? Is the width of the text box 150px? (If so, you can restict the number of characters to 32 to help. As for binding, try googling the phrase "c# textbox binding", you get lots of results.
-
Like the other member are saying ... it is very hard to help. We aren't exactly sure what you are trying to accomplish. You must try and explain your problem better. Regards,
The only programmers that are better C# programmers, are those who look like this -> :bob:
:java: Programm3r My Blog: ^_^
-
Your question is not clear at all. Are the lengths of the table column 32 and the textbox 150 characters? Is the width of the text box 150px? (If so, you can restict the number of characters to 32 to help. As for binding, try googling the phrase "c# textbox binding", you get lots of results.
Dear Kaafb, Thanks for ur reply, I have one Table name Element.In this I want to insert 32Rows with 6 coloumns.For that I am using Textboxes.
-
Dear Kaafb, Thanks for ur reply, I have one Table name Element.In this I want to insert 32Rows with 6 coloumns.For that I am using Textboxes.
I think you must have a look at the following tutorials:* The C# Station ADO.NET Tutorial[^]
- DataView Binding to TextBox[^]
Regards,
The only programmers that are better C# programmers, are those who look like this -> :bob:
:java: Programm3r My Blog: ^_^
- DataView Binding to TextBox[^]
-
Dear Kaafb, Thanks for ur reply, I have one Table name Element.In this I want to insert 32Rows with 6 coloumns.For that I am using Textboxes.
The last time I looked, 32 * 6 wasn't 150. Why 150 textboxes (we ask again)?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
The last time I looked, 32 * 6 wasn't 150. Why 150 textboxes (we ask again)?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
This is far too many for the user to comprehend or fill in reliably in one go. At the very least I suggest you create a wizard to enter each row at a time and ensure they add 32 rows somehow. Better yet, it sounds like an interface re-design might be appropiate.
-
As keefb says, that is way too many. Plus, what happens when suddenly you need to up it from 32 to 40 rows? Or add another column? Just what are you going to call these textboxes, that makes it easy to work out what is going on? Think again. When did you see a database example that used textboxes for each row? What do database examples use?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones
-
Dear ALL, I have one table with 32 Element in this I want to insert the data for that I am using 150 Txt Box. Can u pls help me to Bind this data with database. Thanks in Advance
modified on Tuesday, September 22, 2009 8:35 AM
Total of 720 controls on the page, and I need the same functionality