Click here to Skip to main content
15,889,876 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: linking sqldatabase to Csharp Pin
Christian Graus10-Sep-09 0:28
protectorChristian Graus10-Sep-09 0:28 
QuestionHow to filter Dataset value colmun wise Pin
Samarjeet Singh@india9-Sep-09 23:20
Samarjeet Singh@india9-Sep-09 23:20 
AnswerRe: How to filter Dataset value colmun wise Pin
Arun Jacob9-Sep-09 23:24
Arun Jacob9-Sep-09 23:24 
GeneralRe: How to filter Dataset value colmun wise Pin
Samarjeet Singh@india10-Sep-09 0:16
Samarjeet Singh@india10-Sep-09 0:16 
AnswerRe: How to filter Dataset value colmun wise Pin
Arun Jacob10-Sep-09 0:24
Arun Jacob10-Sep-09 0:24 
QuestionRe: How to filter Dataset value colmun wise Pin
Samarjeet Singh@india10-Sep-09 0:34
Samarjeet Singh@india10-Sep-09 0:34 
AnswerRe: How to filter Dataset value colmun wise Pin
Arun Jacob10-Sep-09 1:08
Arun Jacob10-Sep-09 1:08 
Questionabout substring Pin
Rajeshwar Code- Developer9-Sep-09 23:03
Rajeshwar Code- Developer9-Sep-09 23:03 
hai i have one doubt i m using substring in for to display only 10 characters



i m fetching data from database.. column name called description

and now i want to substring of that desciption colunm , write code in c#.

and i wrote code for that like this

lbl_sub.Text = lbl_sub.Text.Substring(0,5-0).ToString() + "..";


this coding working but my problem is when i m fetching .. if there is no data in database ..the n i m getting error. if data lessthan 5 characters then also i m getting error..

plz could u tell me how can i do this ..

try and try untill reach success..

AnswerRe: about substring Pin
Arun Jacob9-Sep-09 23:09
Arun Jacob9-Sep-09 23:09 
GeneralRe: about substring Pin
Rajeshwar Code- Developer9-Sep-09 23:23
Rajeshwar Code- Developer9-Sep-09 23:23 
GeneralRe: about substring Pin
Arun Jacob9-Sep-09 23:24
Arun Jacob9-Sep-09 23:24 
GeneralRe: about substring Pin
Arun Jacob9-Sep-09 23:26
Arun Jacob9-Sep-09 23:26 
GeneralRe: about substring Pin
Rajeshwar Code- Developer9-Sep-09 23:32
Rajeshwar Code- Developer9-Sep-09 23:32 
AnswerRe: about substring Pin
Arun Jacob9-Sep-09 23:32
Arun Jacob9-Sep-09 23:32 
GeneralRe: about substring Pin
Rajeshwar Code- Developer9-Sep-09 23:45
Rajeshwar Code- Developer9-Sep-09 23:45 
AnswerRe: about substring Pin
Arun Jacob9-Sep-09 23:50
Arun Jacob9-Sep-09 23:50 
GeneralRe: about substring Pin
Rajeshwar Code- Developer9-Sep-09 23:55
Rajeshwar Code- Developer9-Sep-09 23:55 
AnswerRe: about substring Pin
Arun Jacob10-Sep-09 0:28
Arun Jacob10-Sep-09 0:28 
Questionclent server Application Pin
manish.m.meshram9-Sep-09 22:58
manish.m.meshram9-Sep-09 22:58 
AnswerRe: clent server Application Pin
Arun Jacob9-Sep-09 23:03
Arun Jacob9-Sep-09 23:03 
GeneralRe: clent server Application Pin
manish.m.meshram9-Sep-09 23:06
manish.m.meshram9-Sep-09 23:06 
AnswerRe: clent server Application Pin
Abhijit Jana9-Sep-09 23:33
professionalAbhijit Jana9-Sep-09 23:33 
JokeRe: clent server Application Pin
Arun Jacob9-Sep-09 23:38
Arun Jacob9-Sep-09 23:38 
AnswerRe: clent server Application Pin
Christian Graus10-Sep-09 0:22
protectorChristian Graus10-Sep-09 0:22 
Questionserver Access Pin
manish.m.meshram9-Sep-09 22:55
manish.m.meshram9-Sep-09 22:55 

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.