Click here to Skip to main content
15,897,187 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncustomize the datatable Pin
Basheer8-Jan-08 17:19
Basheer8-Jan-08 17:19 
GeneralRe: customize the datatable Pin
Christian Graus8-Jan-08 18:44
protectorChristian Graus8-Jan-08 18:44 
GeneralRe: customize the datatable Pin
ctlqt128-Jan-08 21:48
ctlqt128-Jan-08 21:48 
Generalauto email generation Pin
chandra_778-Jan-08 11:48
chandra_778-Jan-08 11:48 
GeneralRe: auto email generation Pin
Christian Graus8-Jan-08 13:55
protectorChristian Graus8-Jan-08 13:55 
GeneralRe: auto email generation Pin
ctlqt128-Jan-08 21:54
ctlqt128-Jan-08 21:54 
QuestionHow to pass parameters to a stored procedure while using gridview Pin
asrs638-Jan-08 8:31
asrs638-Jan-08 8:31 
GeneralRe: How to pass parameters to a stored procedure while using gridview Pin
DotNetXenon8-Jan-08 10:02
DotNetXenon8-Jan-08 10:02 
Am posting a sample method which calls the GetSP() stored proc and passes a parameter named ID. Check if this is helpful.

public static DataTable GetAll()
{
connection.Open();
using (SqlCommand command = new SqlCommand("GetSP", connection))
{
command.CommandType = CommandType.StoredProcedure;
using (SqlDataAdapter adapter = new SqlDataAdapter(command))
{
SqlParameter idParameter = new SqlParameter();
idParameter.ParameterName = "@ID";
idParameter.Direction = ParameterDirection.Input;
idParameter.SqlDbType = SqlDbType.Int;
idParameter.Size = 4;
idParameter.Value = ID;
command.Parameters.Add(idParameter);
DataSet ds = new DataSet();
adapter.Fill(ds, "Delegate");
return ds.Tables[0];
}
}
}

------------------------------------------------------------
"The only true wisdom is in knowing you know nothing." --Socrates

GeneralRe: How to pass parameters to a stored procedure while using gridview Pin
asrs638-Jan-08 10:57
asrs638-Jan-08 10:57 
GeneralGet whole id of control Pin
Chazzysb8-Jan-08 5:37
Chazzysb8-Jan-08 5:37 
GeneralRe: Get whole id of control Pin
Not Active8-Jan-08 5:51
mentorNot Active8-Jan-08 5:51 
GeneralRe: Get whole id of control Pin
Chazzysb8-Jan-08 6:11
Chazzysb8-Jan-08 6:11 
GeneralRe: Get whole id of control Pin
Declan Bright8-Jan-08 8:54
Declan Bright8-Jan-08 8:54 
GeneralRe: Get whole id of control Pin
Christian Graus8-Jan-08 9:23
protectorChristian Graus8-Jan-08 9:23 
GeneralPaper size using CSS[Stylesheet] Pin
manowj8-Jan-08 4:45
manowj8-Jan-08 4:45 
GeneralHate this dialog - Help Update In Progress Pin
CooperWu8-Jan-08 4:43
CooperWu8-Jan-08 4:43 
GeneralRe: Hate this dialog - Help Update In Progress Pin
Anders Øyvind Sætre15-May-09 0:26
Anders Øyvind Sætre15-May-09 0:26 
Questioncan we use JavaApplets adn Servletts in Asp.Net??? Pin
chanzeb8-Jan-08 4:03
chanzeb8-Jan-08 4:03 
AnswerRe: can we use JavaApplets adn Servletts in Asp.Net??? Pin
Christian Graus8-Jan-08 9:16
protectorChristian Graus8-Jan-08 9:16 
GeneralSate Managment [modified] Pin
Scotty868-Jan-08 2:35
Scotty868-Jan-08 2:35 
GeneralRe: Sate Managment Pin
Scotty869-Jan-08 5:34
Scotty869-Jan-08 5:34 
GeneralNew To asp.net ....Simple question Pin
sindhutiwari8-Jan-08 2:15
sindhutiwari8-Jan-08 2:15 
GeneralRe: New To asp.net ....Simple question Pin
Vasudevan Deepak Kumar8-Jan-08 2:21
Vasudevan Deepak Kumar8-Jan-08 2:21 
GeneralRe: New To asp.net ....Simple question Pin
sindhutiwari8-Jan-08 2:27
sindhutiwari8-Jan-08 2:27 
GeneralRe: New To asp.net ....Simple question Pin
DotNetXenon8-Jan-08 4:44
DotNetXenon8-Jan-08 4:44 

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.