16,020,080 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by sat_100m (Top 13 by date)
sat_100m
12-Jun-11 3:10am
View
Member_6499766 : I want to pass Session value to dropdown items not in another datatable..
sat_100m
11-Jun-11 3:38am
View
Thnx
sat_100m
10-Jun-11 12:58pm
View
Thnx..............
sat_100m
23-May-11 10:44am
View
what's the clientID ?
sat_100m
23-May-11 10:44am
View
Deleted
what's the clientID ?
sat_100m
12-May-11 9:15am
View
Yes I did little bit but big changes in DB .
ALTER procedure [dbo].[quest_categories_FullJoin_State_Retrieve]
@SNo int
as
select quest_categories.City AS City1,State.City AS City2,quest_categories.Sr_No as Sr_N01,
phone,Population,State.City AS City2,State
from quest_categories
full Join State on quest_categories.City = State.City
where quest_categories.Sr_No=@SNo
RETURN
sat_100m
12-May-11 9:11am
View
Thnx Mahendra.p25....u r correct..........
Thank You very Much
sat_100m
11-May-11 21:55pm
View
No I am trying to get check value of checkbox chksr from database....
sat_100m
11-May-11 0:58am
View
No, I want chkSr value(selected one) from database and table name "State"...
rdoSr contains same values of state column and I want after select on rdoSr, the value of chksr comes up automatically.
Both rdoSr and chksr contains same values dat's retrieve from column Sate of table State
sat_100m
11-May-11 0:58am
View
No, I want chkSr value(selected one) from database and table name "State"...
rdoSr contains same values of state column and I want after select on rdoSr, the value of chksr comes up automatically.
Both rdoSr and chksr contains same values dat's retrieve from column Sate of table State
sat_100m
7-May-11 4:06am
View
Thnx...............
sat_100m
7-May-11 2:25am
View
Thnx....
sat_100m
23-Dec-10 8:52am
View
I have created 2 textbox txtRows and txtCols........when i input some value on dem it has created
the same no. of row and columns with every cell containing blank textboxes....i want to insert valus on dat textboxes to a table in database(sql)....
<div>
Rows:
<asp:TextBox ID="txtRows" runat="server" />
Cols:
<asp:TextBox ID="txtCols" runat="server" />
<br /><br />
<asp:CheckBox ID="chkBorder" runat="server"
Text="Put Border Around Cells" />
<br /><br />
<asp:Button ID="cmdCreate0" runat="server"
Text="Create Table with textbox" onclick="cmdCreate0_Click" />
<br /><br />
<asp:Table ID="table1" runat="server" />
<br />
<br />
<br />
<br />
<br />
</div>
public partial class table : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// Configure the table's appearance.
// This could also be performed in the .aspx file
// or in the cmdCreate_Click event handler.
table1.BorderStyle = BorderStyle.Inset;
table1.BorderWidth = Unit.Pixel(1);
}
protected void cmdCreate0_Click(object sender, EventArgs e)
{
table1.Controls.Clear();
int rows = Int32.Parse(txtRows.Text);
int cols = Int32.Parse(txtCols.Text);
for (int row = 0; row < rows; row++)
{
TableRow rowNew = new TableRow();
table1.Controls.Add(rowNew);
for (int col = 0; col < cols; col++)
{
TableCell cellNew = new TableCell();
TextBox txtContent = new TextBox();
cellNew.Controls.Add(txtContent);
if (chkBorder.Checked)
{
cellNew.BorderStyle = BorderStyle.Inset;
cellNew.BorderWidth = Unit.Pixel(1);
}
rowNew.Controls.Add(cellNew);
}
}
}
}
Show More