Click here to Skip to main content
15,886,137 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionA grid view from scratch Pin
mrkeivan24-Aug-09 20:32
mrkeivan24-Aug-09 20:32 
AnswerRe: A grid view from scratch Pin
Suresh Suthar24-Aug-09 21:14
professionalSuresh Suthar24-Aug-09 21:14 
Question.net with flex Pin
Amit Patel198524-Aug-09 20:17
Amit Patel198524-Aug-09 20:17 
QuestionIs "string" be the only thing i can send from client to server side Pin
subramanian.rtechconet24-Aug-09 19:53
subramanian.rtechconet24-Aug-09 19:53 
AnswerRe: Is "string" be the only thing i can send from client to server side Pin
SeMartens24-Aug-09 20:26
SeMartens24-Aug-09 20:26 
QuestionGrid View with null data Pin
Member 426027024-Aug-09 19:39
Member 426027024-Aug-09 19:39 
AnswerRe: Grid View with null data Pin
padmanabhan N24-Aug-09 19:49
padmanabhan N24-Aug-09 19:49 
AnswerRe: Grid View with null data Pin
Amit Patel198524-Aug-09 19:50
Amit Patel198524-Aug-09 19:50 
<
DataTable source = new DataTable();

gridViewAppointment.DataSource = source;


// New empty row is added to the grid view to dis play the data table.
source.Rows.Add(source.NewRow());

gridViewAppointment.DataBind();

int columnsCount = gridViewAppointment.Columns.Count;

gridViewAppointment.Rows[0].Cells.Clear();// clear all the cells in the row
gridViewAppointment.Rows[0].Cells.Add(new TableCell()); //add a new blank cell
gridViewAppointment.Rows[0].Cells[0].ColumnSpan = columnsCount;
gridViewAppointment.Rows[0].Cells[0].HorizontalAlign = HorizontalAlign.Center;
gridViewAppointment.Rows[0].Cells[0].ForeColor = System.Drawing.Color.Red;
gridViewAppointment.Rows[0].Cells[0].Font.Bold = true;
// set No Results found to the new added cell
gridViewAppointment.Rows[0].Cells[0].Text = "No Appointment Found!";
>
yes it is possible but u have to display some message like no recordfound

first create the data table bind it with grid view
then get column count

clear all cells then join all column through colspan then add text
Questionlogin page Pin
rajni_nanu24-Aug-09 19:18
rajni_nanu24-Aug-09 19:18 
AnswerRe: login page Pin
Christian Graus24-Aug-09 19:27
protectorChristian Graus24-Aug-09 19:27 
GeneralChristian why you are abusing racially with your answer Pin
Mogamboo_Khush_Hua24-Aug-09 20:37
Mogamboo_Khush_Hua24-Aug-09 20:37 
Rant... one of the hordes of unskilled third world programmers ripping off western companies ... Pin
AprNgp24-Aug-09 23:26
AprNgp24-Aug-09 23:26 
Answer[Message Deleted] Pin
haleemasher24-Aug-09 19:45
haleemasher24-Aug-09 19:45 
GeneralRe: login page Pin
N a v a n e e t h24-Aug-09 20:49
N a v a n e e t h24-Aug-09 20:49 
GeneralRe: login page Pin
Ashfield24-Aug-09 21:09
Ashfield24-Aug-09 21:09 
Questiondynamic menu... Pin
RajpootRohan24-Aug-09 19:08
professionalRajpootRohan24-Aug-09 19:08 
AnswerRe: dynamic menu... Pin
Christian Graus24-Aug-09 19:12
protectorChristian Graus24-Aug-09 19:12 
GeneralRe: dynamic menu... Pin
RajpootRohan24-Aug-09 19:30
professionalRajpootRohan24-Aug-09 19:30 
GeneralRe: dynamic menu... Pin
Christian Graus24-Aug-09 19:32
protectorChristian Graus24-Aug-09 19:32 
GeneralRe: dynamic menu... Pin
RajpootRohan24-Aug-09 21:32
professionalRajpootRohan24-Aug-09 21:32 
QuestionCannot implicitly convert type 'string' to 'System.Web.UI.WebControls.TextBox' Pin
haleemasher24-Aug-09 18:21
haleemasher24-Aug-09 18:21 
AnswerRe: Cannot implicitly convert type 'string' to 'System.Web.UI.WebControls.TextBox' Pin
Abhijit Jana24-Aug-09 18:34
professionalAbhijit Jana24-Aug-09 18:34 
GeneralRe: Cannot implicitly convert type 'string' to 'System.Web.UI.WebControls.TextBox' Pin
haleemasher24-Aug-09 18:46
haleemasher24-Aug-09 18:46 
GeneralRe: Cannot implicitly convert type 'string' to 'System.Web.UI.WebControls.TextBox' Pin
Sendilkumar.M24-Aug-09 19:28
Sendilkumar.M24-Aug-09 19:28 
AnswerRe: Cannot implicitly convert type 'string' to 'System.Web.UI.WebControls.TextBox' Pin
ali_reza_zareian24-Aug-09 18:46
ali_reza_zareian24-Aug-09 18:46 

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.