Click here to Skip to main content
15,914,642 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Registration page doubt Pin
Sandeep Akhare1-Jul-07 22:27
Sandeep Akhare1-Jul-07 22:27 
Questionwant to show image in datagrid Pin
rathi ajay1-Jul-07 20:58
rathi ajay1-Jul-07 20:58 
AnswerRe: want to show image in datagrid Pin
honeyss1-Jul-07 21:20
honeyss1-Jul-07 21:20 
AnswerRe: want to show image in datagrid Pin
N a v a n e e t h1-Jul-07 22:34
N a v a n e e t h1-Jul-07 22:34 
QuestionAsp.net Roles Pin
Suryanairg1-Jul-07 20:53
Suryanairg1-Jul-07 20:53 
AnswerRe: Asp.net Roles Pin
kvijayajyothy1-Jul-07 21:29
kvijayajyothy1-Jul-07 21:29 
Questionhow to assign values in datatable? Pin
moomoooomoo1-Jul-07 20:04
moomoooomoo1-Jul-07 20:04 
AnswerRe: how to assign values in datatable? Pin
RepliCrux1-Jul-07 20:10
RepliCrux1-Jul-07 20:10 
1. If you want to insert values from the stored procedure, then you will have to call that
procedure and fill the table using SQlDataAdapter

DataTable table = new DataTable();
SqlDataAdapter adapter = new SqlDataAdapter()
adapter.Fill(table);

Else here is a sample code for datatable. (If you really don't know anything about using datatables.

DataTable table = new DataTable();
DataColumn col1 = new DataColumn("select",Type.GetType("System.Boolean"));
DataColumn col2 = new DataColumn("Name", Type.GetType("System.String"));

table.Columns.Add(col1);
table.Columns.Add(col2);

DataRow r1 = table.NewRow();
r1["select"] = true;
r1["Name"] = "Something";

DataRow r2 = table.NewRow();
r2["select"] = false;
r2["Name"] = "nothing";

table.Rows.Add(r1);
table.Rows.Add(r2);
Generalvery appreciated.... Pin
moomoooomoo1-Jul-07 21:04
moomoooomoo1-Jul-07 21:04 
AnswerRe: how to assign values in datatable? Pin
honeyss1-Jul-07 20:15
honeyss1-Jul-07 20:15 
GeneralRe: how to assign values in datatable? Pin
moomoooomoo1-Jul-07 21:06
moomoooomoo1-Jul-07 21:06 
GeneralRe: how to assign values in datatable? Pin
honeyss1-Jul-07 21:12
honeyss1-Jul-07 21:12 
QuestionEditable Grid view Pin
hari4ur1-Jul-07 19:52
hari4ur1-Jul-07 19:52 
AnswerRe: Editable Grid view Pin
Sathesh Sakthivel1-Jul-07 19:55
Sathesh Sakthivel1-Jul-07 19:55 
GeneralRe: Editable Grid view Pin
hari4ur2-Jul-07 20:15
hari4ur2-Jul-07 20:15 
AnswerRe: Editable Grid view Pin
sarthakm17-Sep-13 9:53
sarthakm17-Sep-13 9:53 
GeneralRe: Editable Grid view Pin
sarthakm29-Oct-13 5:26
sarthakm29-Oct-13 5:26 
GeneralRe: Editable Grid view Pin
sarthakm29-Oct-13 5:28
sarthakm29-Oct-13 5:28 
AnswerRe: Editable Grid view Pin
Venkatesh Mookkan1-Jul-07 19:56
Venkatesh Mookkan1-Jul-07 19:56 
QuestionExpression Validator Pin
rzthebeginner1-Jul-07 19:49
rzthebeginner1-Jul-07 19:49 
AnswerRe: Expression Validator Pin
Sathesh Sakthivel1-Jul-07 19:53
Sathesh Sakthivel1-Jul-07 19:53 
QuestionProblems with Visual.NET Pin
anystudent1-Jul-07 19:32
anystudent1-Jul-07 19:32 
AnswerRe: Problems with Visual.NET Pin
Venkatesh Mookkan1-Jul-07 19:58
Venkatesh Mookkan1-Jul-07 19:58 
QuestionLookup Pin
kvijayajyothy1-Jul-07 19:30
kvijayajyothy1-Jul-07 19:30 
QuestionEdit Session Time Out In ASP.net 2.0 Pin
HatakeKaKaShi1-Jul-07 19:19
HatakeKaKaShi1-Jul-07 19:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.